It would seem that you are running Java with a 1.3 or before version
of the JVM, but using 1.4 version of the classes.
If possible, I would remove all versions of Java that are not 1.4,
or at least get them out of your PATH environment variable.
Double check your JAVA_HOME variable to make sure its pointing to
1.4.
If none of that works, try running JAVA_HOME\bin\java -fullversion
to make sure you are running 1.4 and if not, reinstall.
Randy
> -----Original Message-----
> From: Frans Thamura [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 19, 2002 8:35 PM
> To: Tomcat Users List
> Subject: cannot compile JSP in tomcat 4.02 + JSDK 1.4
>
>
> Hi I got this error
>
> most of my script cannot be compiled when i execute the JSP
>
> this is the error
>
> org.apache.jasper.JasperException: Unable to compile class
> for JSPerror: Invalid class file format in
> C:\jsdk1.4\jre\lib\rt.jar(java/lang/Object.class). The
> major.minor version '48.0' is too recent for this tool to understand.
>
> C:\tomcat402\work\localhost\examples\test$jsp.java:0: Class
> java.lang.Object not found in class javax.servlet.GenericServlet.
> package org.apache.jsp;
> ^
> 2 errors
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>