Double (and triple check) that you are really running Tomcat with
JDK 1.4.  This error message is only generated by older JVMs when presented
with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file).

        Randy

> -----Original Message-----
> From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 9:12 AM
> To: 'Tomcat Users List'
> Subject: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> Hi all,
> 
> I've browsed the archives and found people asking this question, but
> couldn't find any answers to it, so here goes...
> 
> Platform: Win2K + Cygwin
> Tomcat: 4.0.1
> 
> I upgraded to JDK1.4 in order to take advantage of the java.util.regex
> package (yay, no reason to use perl again!).  Everything was going
> swimmingly until it was time to recompile some JSPs, and I now
> consistently get errors of the form:
> 
> org.apache.jasper.JasperException: Unable to compile class 
> for JSPerror:
> Invalid class file format in
> C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec
> t.class).
> The major.minor version '48.0' is too recent for this tool to
> understand.
> 
> Any assistance will be greatly appreciated...
> 
> Thanks,
> Scott
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to