Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Resolving Class Version Problems
Resolving Class Version Problems [message #159912] Thu, 09 February 2006 17:50 Go to next message
Eric Kolotyluk is currently offline Eric KolotylukFriend
Messages: 65
Registered: July 2009
Member
I was following the WTP-Tutorial-1 excersise and when I tride to invoke
the servlet via Sun Application Server 8.2 I got

java.lang.UnsupportedClassVersionError:
org/eclipse/wtp/tutorial/SnoopServlet (Unsupported major.minor version
49.0)

Presumably the server is telling me that it's j2ee runtime is unable to
run SnoopServlet because the base class, HttpServlet, is version 49.0.
However, the project is including jars from the appserver/lib directory,
so how can there be a version mismatch.

Does anyone have any idea on how I go about resolving this? Any help would
be greatly appreciated.
Re: Resolving Class Version Problems [message #160005 is a reply to message #159912] Thu, 09 February 2006 22:16 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 7
Registered: July 2009
Junior Member
you are probably trying to run code compiled with 5.0 to 5.0
compatability under an earlier jre, such as 1.4.

Eric Kolotyluk wrote:
> I was following the WTP-Tutorial-1 excersise and when I tride to invoke
> the servlet via Sun Application Server 8.2 I got
>
> java.lang.UnsupportedClassVersionError:
> org/eclipse/wtp/tutorial/SnoopServlet (Unsupported major.minor version
> 49.0)
>
> Presumably the server is telling me that it's j2ee runtime is unable to
> run SnoopServlet because the base class, HttpServlet, is version 49.0.
> However, the project is including jars from the appserver/lib directory,
> so how can there be a version mismatch.
>
> Does anyone have any idea on how I go about resolving this? Any help
> would be greatly appreciated.
>
Re: Resolving Class Version Problems [message #160013 is a reply to message #160005] Fri, 10 February 2006 00:58 Go to previous message
Eric Kolotyluk is currently offline Eric KolotylukFriend
Messages: 65
Registered: July 2009
Member
Ahh, I forgot to update my asenv.conf file to point to the latest JRE.

Thanks

mitchell ackerman wrote:

> you are probably trying to run code compiled with 5.0 to 5.0
> compatability under an earlier jre, such as 1.4.

> Eric Kolotyluk wrote:
>> I was following the WTP-Tutorial-1 excersise and when I tride to invoke
>> the servlet via Sun Application Server 8.2 I got
>>
>> java.lang.UnsupportedClassVersionError:
>> org/eclipse/wtp/tutorial/SnoopServlet (Unsupported major.minor version
>> 49.0)
>>
>> Presumably the server is telling me that it's j2ee runtime is unable to
>> run SnoopServlet because the base class, HttpServlet, is version 49.0.
>> However, the project is including jars from the appserver/lib directory,
>> so how can there be a version mismatch.
>>
>> Does anyone have any idea on how I go about resolving this? Any help
>> would be greatly appreciated.
>>
Previous Topic:Generating Ant Scripts (for java, not wsdl) in Bottom Up Web Services
Next Topic:Drag from Database Explorer
Goto Forum:
  


Current Time: Sat Apr 27 02:19:52 GMT 2024

Powered by FUDForum. Page generated in 0.02682 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top