Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Resolving Class Version Problems
Resolving Class Version Problems [message #159912] Thu, 09 February 2006 12:50 Go to next message
Eclipse UserFriend
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 17:16 Go to previous messageGo to next message
Eclipse UserFriend
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] Thu, 09 February 2006 19:58 Go to previous message
Eclipse UserFriend
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: Wed Mar 19 09:37:58 EDT 2025

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

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

Back to the top