I saw this issue with Cocoon 2.  The cocoon.war file includes javac.jar in 
WEB-INF/lib which is not compatible with jdk 1.4.  Something very similar 
might be happening here.  Check the directories for a tools equivalent .jar 
file built for use with jdk1.3.

Hope this helps...

--David

On Thursday 07 March 2002 08:58 am, you wrote:
> The ONLY way you get this message is to use a JVM 1.4 JAR file with
> a previous version.  If you have only one JVM installed it is NOT 1.4.
>
>       Randy
>
> > -----Original Message-----
> > From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 07, 2002 9:36 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> >
> >
> > Randy and Ralph,
> >
> > Thanks for you quick replies.
> >
> > I've quadruple checked - I deleted all JDKs and JVMs on my machine
> > except for the one I just installed.  The problem remains, unmodified.
> >
> > Is it possible that some of my jar files need updating?
> >
> > Thanks,
> > Scott
> >
> > > -----Original Message-----
> > > From: Randy Layman [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, March 07, 2002 8:42 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> > >
> > >
> > >
> > >   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:tomcat-user-> [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]>
> >
> >
> >
> > --
> > 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