Announcement Announcement Module
Collapse
No announcement yet.
org.springframework.context.NoSuchMessageException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • org.springframework.context.NoSuchMessageException

    Hi all,
    I am getting the following error. I don't know the cause of this error. Can anybody correct where I have gone wrong?

    HTML Code:
    org.apache.jasper.JasperException: An error occurred while evaluating custom action attribute "items" with value "${status.errorMessages}": An error occurred while getting property "errorMessages" from an instance of class org.springframework.web.servlet.support.BindStatus (org.springframework.context.NoSuchMessageException: No message found under code 'login.userId.Required' for locale 'en_US'.)
    Thanks in advance.

  • #2
    Hello John,

    It means that your webapp has declared and used a MessageResolver for form field name "login.userId.Required", and you didn't define it.

    make sure you have a message properties file with that set.

    -Z

    Comment


    • #3
      yeah, try and copy the message.properties under the \WEB-INF directory of your deployment.

      Comment

      Working...
      X