tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: class file has wrong version?
Date Wed, 01 Dec 2004 17:18:04 GMT

If you compile a class with J2SE 5.0 (class file version 49.0), you
can't run it with JDK 1.4 (class file version 48.0), unless you
specifically told the compiler -target 1.4.  This is a mismatch between
your compile-time and run-time JVM versions.

Yoav Shapira

>-----Original Message-----
>From: Chris Cherrett []
>Sent: Wednesday, December 01, 2004 12:10 PM
>To: Tomcat Users List
>Subject: class file has wrong version?
>I am trying to deploy with a client and am getting an error that I have
>seen before. Any ideas where to start?
>bad class
>file: /usr/local/tomcat/webapps/tsiware/WEB-
>class file has wrong version 49.0, should be 48.0
>Please remove or make sure it appears in the correct subdirectory of
>ConnectionPool dbConnectionPool = ConnectionPool.getInstance();
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message