Hi François,

The actual exception is:
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file

And it is happening when Jenkins is trying to load HttpServlet.
Caused by: java.lang.ClassFormatError: Failed to load javax.servlet.http.HttpServlet

"Bad version number in .class file" indicates that the application tries to execute class compiled in newer version of JDK.

In your case, java 1.5 tries to load classes compiled with 1.6

Tomcat 6 minimum version is 1.5, you were running it with 1.5, and it was fine.
Tomcat 7 minimum version is 1.6, you are running it with 1.5, and it does not work.

http://tomcat.apache.org/whichversion.html

Andrey

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to