Hi..I have deployed my.war in Tomacat5.x, in that i was used java1.5 .At that time JAVA_HOME=java5path and CATALINA_HOME=tomcat5.x path in CentOS. It was working good.
Now my problem is,
I'm deploying the same war in Tomcat7.x with JAVA_HOME=java1.7 and CATALINE_HOME=tomcat7.x i'm getting the following error
java.lang.ClassNotFoundException: org.apache.catalina.servlets.InvokerServlet
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)...
As well i have compiled code in java1.7 too and deployed in Tomcat7..same error.Can any one suggest me how to overcome this problem ??
Thanks.
I think tomcat 7 , support version 1.6 and up .
see here : http://tomcat.apache.org/whichversion.html