Results 1 to 3 of 3

Thread: org.springframework.context.NoSuchMessageException

  1. #1

    Default 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. #2
    Join Date
    Jan 2007
    Location
    Orlando, FL USA
    Posts
    84

    Default

    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
    http://www.jroller.com/thebugslayer - notes on java, scala and other development stuff.

  3. #3
    Join Date
    Sep 2007
    Posts
    7

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •