Skip to Content
0
Feb 08, 2008 at 04:08 PM

UnsupportedClassVersionError in NWDS CE

44 Views

Hey Team,

I have some issues during the deployment of web services to the Composition Enviroment (7.1 SP3 with NWDS CE). I generated a web service out of a EJB and then I deployed it to the engine.

During deployment I am receiving an "UnsupportedClassVersionError". I googled that this is happening, because I am using a wrong JDK version (Detailed description below).

I am currently using JDK1.5.0_06, but I also tried 1.5_00 and 1.5_16.

Which Java Version is the CE using or why do I receive that error? How can I check if NWDS is using the right JDK to compile?

Thank you for your help in advance.

Take Care,

Michael

-


2. File:C:\Workspaces\D043918_NWDS_CE.jdi\LocalDevelopment\MyComponents\demo.sap.com\xproject\ear\_comp\gen\default\deploy\demo.sap.comxprojectear.ear

Name:xproject~ear

Vendor:demo.sap.com

Location:localDevelopment

Version:20080208170004

Deploy status:Warning

Version:HIGHER

Description:

1. Exception has been returned while the 'demo.sap.com/xproject~ear' was starting. Warning/Exception :

[ERROR CODE DPL.DS.6193] Error while ; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 25808050:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5107] Exception during initial start of application demo.sap.com/xproject~ear in container webservices_container.

.....

Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file