cancel
Showing results for 
Search instead for 
Did you mean: 

Problems deploying an "example" web dynpro

andrea_scalfaro
Explorer
0 Kudos

Hi experts!

I try to work under SAP NW CE 7.11

I've this error message in the browser after the deploying phase:

The initial exception that caused the request to fail, was:

java.lang.UnsupportedClassVersionError: com/sap/examples/calendarcomp/wdp/InternalCalendarComp : Unsupported major.minor version 50.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:676)

at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:183)

at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:312)

at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:271)

... 68 more

My configuraton in NWDS under preferences -> java -> compiler -> compiler compliance level : 6.00

my java -version: 1.6.0_17

java hotspot 14.3-b01

I've dowloaded a Webdynpro from sdn tutorial:

I've imported the project and run and deployed it but it give me the error above.

Is it a problem with my workstation java configuration?

Thanx.

Andrea Scalfaro

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

You have to compile your application with compatibility mode 5.0 or with JDK 5. When working with DCs there is a separate setting in the DC perspective to use the JDK 5 compiler.

Armin

Former Member
0 Kudos

Hi,

Check the java version in your server and in your NWDS. This issue comes if you are compiling the code in a higher version of java and running it in a lower version. There seems to be mismatch between the JRE used in NWDS and in the server.

Regards,

Ponraj M

andrea_scalfaro
Explorer
0 Kudos

Hi Ponraj,

Here my java on server:

Java VM SAP Java Server VM, version:5.1.036, vendor: SAP AG

Here my java -version on workstation:

1.6.0_17

java hotspot 14.3-b01

I've tried to downgrade into preferences->java-->compiler jdk compleance from 6.0 to 5.0 but it give me the error yet.

On my workstation i found many java installation but in SAPNDWS.ini file it is called this version:

C:\Programmi\Java\jdk1.6.0_17\bin\javaw.exe

Regards,

Andrea

Former Member
0 Kudos

please find my configuration as part NWDS,

i placed my jawaw.exe in this folder,

C:\j2sdk1.4.2_13\bin\javaw.exe

and the target: "C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "C:\j2sdk1.4.2_13\bin\javaw.exe"

then its working, before that i placed in the program files, due to some reason its not working

Cheers,

Apparao

Former Member
0 Kudos

hi

check with your java version , i guess there are java installations in your system are less than what is supporting the

NWDS 7.1 version . or there may be case of mutliple java versions installed in your system .

please check that .

Former Member
0 Kudos

Hello Andrea,

Are you using NWDS 7.1? You should.

Regards,

Jan

andrea_scalfaro
Explorer
0 Kudos

Hi Jan,

Here my "About" NDWS:

SAP NetWeaver Developer Studio

SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.1 SP03 PAT0005

Build id: 200910262203

Regards.

Andrea

Edited by: Andrea Scalfaro on Dec 9, 2009 12:14 PM

Former Member
0 Kudos

Hi,

Is the java version on your WAS 1.5?

Regards,

Himanshu

andrea_scalfaro
Explorer
0 Kudos

Hi Himanshu,

Here my server information:

Server

Web Dynpro Runtime vendor: 'sap.com', name: 'tc/wd/webdynpro', location: 'SAP AG', counter: xxxxxxxxxxxxx', change number: '57570', codeline: NW711_03_REL

J2EE Engine 7.11.3710.48555.20090609090212

System ID (SID) DDD

Server Node ID |4071650|40716|Server 00 00_40716|xxxx/xx.xxx.xx.16|SERVER|RUNNING

Java VM SAP Java Server VM, version:5.1.036, vendor: SAP AG

Operating system AIX, version: 5.3, architecture: ppc64

Regards,

Andrea

Edited by: Andrea Scalfaro on Dec 9, 2009 2:23 PM