java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Pawson, David

Been trying out java 1.5
Now back to using 1.4.2.06

When I run what was a working servlet, I'm getting 
the above error, and

'Unsupported major.minor version 49.0'

Is this Tomcat or java please?

Regards DaveP.

 snip here *

-- 
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Peter Crowther
 From: Pawson, David [mailto:[EMAIL PROTECTED] 
 Been trying out java 1.5
 Now back to using 1.4.2.06
 
 When I run what was a working servlet, I'm getting 
 the above error, and
 
 'Unsupported major.minor version 49.0'
 
 Is this Tomcat or java please?

Java.  A .class file has been compiled with a more recent compiler than
the runtime that's in use.  Did you compile the servlet with the 1.5
javac?  If so, clean out the .class files and recompile with 1.4.2.

- Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Viorel Dragomir
Your jsp files are compiled using jdk1.5. Remove these files from tomcat's 
working directory. [ (..)tomcat/work ]




Viorel Dragomir

.
..
---



- Original Message - 
From: Pawson, David 
To: Tomcat Users List 
Sent: Friday, April 15, 2005 15:56
Subject: java.lang.UnsupportedClassVersionError ?



Been trying out java 1.5
Now back to using 1.4.2.06

When I run what was a working servlet, I'm getting 
the above error, and

'Unsupported major.minor version 49.0'

Is this Tomcat or java please?

Regards DaveP.

 snip here *

-- 
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: java.lang.UnsupportedClassVersionError ?

2005-04-15 Thread Pawson, David
 

-Original Message-
From: Peter Crowther
 
 'Unsupported major.minor version 49.0'
 
 Is this Tomcat or java please?

Java.  A .class file has been compiled with a more recent 
compiler than the runtime that's in use.  Did you compile 
the servlet with the 1.5 javac?  If so, clean out the 
.class files and recompile with 1.4.2.

Thanks Peter.

regards DaveP

-- 
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]