Dimitrios Christodoulakis wrote:
It seems that indeed the filters are not starting properly: The catalina.out
log indicates the following:

00:45:40,018 ERROR [/myapp]:3639 - Exception starting filter struts2
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
...
...

00:45:40,044 ERROR [/myapp]:3639 - Exception starting filter HibernateFilter
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
...
...

is it right to assume that "bad verison number in .class file" means Tomcat
5.5 is unable to run this struts2-hibernate combination? -- Any advice on
deciphering the above errors?

No, it means that you've probably compiled under 1.6 and are deploying under 1.5. Oftentimes searching the web for an exception will provide hints as to what's going wrong.

--I tried to run it locally on tomcat 5.5 using eclipse, but turns out I
cannot even assign this project to 5.5 because - according to eclipse: "The
server does not support version 2.5 of the J2EE Web module specification."

Is there any reason you need to use 2.5?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to