Results 1 to 5 of 5

Thread: Java 1.6 and springmodules

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    4

    Default Java 1.6 and springmodules

    When running Tomcat 6 with Java 6 and using the bean-validator sample in springmodules 0.9, I get the following error:

    Error creating bean with name 'handlerMapping' defined in ServletContext resource [/WEB-INF/validator-servlet.xml] [...] nested exception is java.lang.NoSuchFieldError: IS_JAVA_1_6

    The validator works fine in Java 5. Is springmodules not compatible with Java 6? If not, does anyone have an idea of when it will be Java 6 ready?

  2. #2
    Join Date
    Dec 2008
    Posts
    1

    Default

    I had the same problem when used old commons-lang lib.
    Try use version 2.4 or latest, for resolve it.

  3. #3

    Default

    I am having the same problem eventhough i have commons lang 2.4 version.

    Can anyone please help me on this.

    Thankyou,
    Kranthi.

  4. #4
    Join Date
    Apr 2009
    Posts
    5

    Default

    Bump to top - I'm getting an error similar to this...so anyone have a solution?

    EDIT: Removed list of JAR files...
    Last edited by schu777; Mar 16th, 2010 at 11:55 AM.

  5. #5
    Join Date
    Apr 2009
    Posts
    5

    Default

    I put in the commons-lang-2.5 version and it still errored out. After that, I deleted my Build directory AND the deployment directory and that solved it - now I don't know if the 2.5 also helped at this point, but it's working now.

    Michael

Posting Permissions

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