Today I am getting Some JSP Compilation Exceptions, I don't know why it is giving this error, I am forwarding the control to the Jsp from Servlet that time it is giving this error.
and one more thing... I am getting this error only when i run tomcat 5.0 from Eclipse 3.4.0. and when i run tomcat 5.0 outside the eclipse my application is running fine... no errors...
NOTE: I made sure that eclipse java build path is using jre1.5.0
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
bad class file: C:\Program Files\Java\jre1.5.0\lib\rt.jar(java/lang/Object.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public final class adminhome_jsp extends org.apache.jasper.runtime.HttpJspBase
myclasspath settings is C:\Program Files\Java\jre1.5.0\lib;.;C:\Program Files\Java\jdk1.5.0\lib\tools.jar
path setting is %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;.;C:\Program Files\Java\jdk1.5.0\bin
JavaRanch Forum is too good for me, when ever I have got any problem I got quick and good response everytime..