ClassFormatError when deploying WAR file
Hi
I have got a WAR file I want to deploy. It has been built without any problems, but when I try and startup my servlet container (e.g. tomcat or jboss), which then tries to deploy it, I get this error:
....
java.lang.ClassFormatError: Invalid constant pool index 63 inclass file
....
It does not make any different what my servlet container is, with which JDK I compile the code with, or with which version I set in JAVA_HOME, I consistently get this error. If I remove all the code from the class in question, I get the Invalid constant pool error for a different class instead.
Does anybody have any idea what it means, and how I could fix it?
Thanks
Jonny

