Hi,
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 http://www.yoavshapira.com


>-----Original Message-----
>From: Chris Cherrett [mailto:[EMAIL PROTECTED]
>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
>never
>seen before. Any ideas where to start?
>
>bad class
>file: /usr/local/tomcat/webapps/tsiware/WEB-
>INF/classes/ConnectionPool/ConnectionPool.class
>class file has wrong version 49.0, should be 48.0
>Please remove or make sure it appears in the correct subdirectory of
the
>classpath.
>ConnectionPool dbConnectionPool = ConnectionPool.getInstance();
>
>
>Thanks
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to