One other thing to be aware of is that if you installed Tomcat 4.1.x
using the exe, and you chose to install Tomcat as a service, then the
install would copy tools.jar from the JDK to Tomcat's common/lib
directory.  This allowed the service to run off the JRE associated with
the JDK (much much easier to find via the Windows registry) instead of
the JDK itself.  I have seen cases where it was an old tools.jar in
common/lib that caused this symptom when running Tomcat in a newer JVM.

Cheers,
Larry

> -----Original Message-----
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 01, 2007 5:05 PM
> To: Tomcat Users List
> Subject: RE: I got the following error while running my very simple JSP
> onTomcat 4.1. server
>
> > From: peri [mailto:[EMAIL PROTECTED]
> > Subject: I got the following error while running my very
> > simple JSP onTomcat 4.1. server
> >
> > class file has wrong version 49.0, should be 48.0
>
> You appear to have multiple JRE/JDKs installed on your system.  The
> above message would be displayed by a 1.4 JVM when encountering a class
> file created for a 1.5 or newer JVM.  Try finding and removing the
> older
> JRE/JDK installations.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
> PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to