May 12th, 2008, 05:11 PM
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?
Dec 10th, 2008, 04:52 AM
I had the same problem when used old commons-lang lib.
Try use version 2.4 or latest, for resolve it.
Mar 1st, 2010, 01:52 PM
I am having the same problem eventhough i have commons lang 2.4 version.
Can anyone please help me on this.
Mar 15th, 2010, 04:07 PM
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.
Mar 16th, 2010, 11:54 AM
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.