cancel
Showing results for 
Search instead for 
Did you mean: 

Unsupported Class Version Error

Former Member
0 Kudos

Hi!

I am getting the following unsupported class version error while running my application in NWDI for my DC. I reinstalled the NWDS with JDK 1.4 version ie j2re1.4.2_08. But still the problem persists.

ERROR DESCRIPTION:

java.lang.UnsupportedClassVersionError: com/oem/rp_tsi_op_app/wdp/InternalRP_TSI_TO_OP_APP (Unsupported major.minor version 50.0)

java.lang.UnsupportedClassVersionError: com/oem/rp_tsi_op_app/wdp/InternalRP_TSI_TO_OP_APP (Unsupported major.minor version 50.0)

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

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

at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)

at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)

at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)

at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)

at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:65)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Can somebody help me with this?

Regards,

Janice Baby

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Janice,

Please check all the installed java version in the system and run "javaws" at start > run and check the default version of java.

Also check the SAP Server and NWDI component and Check PAM (Product Availability Matrix) in the service market place for more details.

Regards

Arun Jaiswal

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi All!

I could solve that error finally. The Error was not in the main DC but in one of the used DC which i had overlooked.

I repaired & reloaded the used DC. Then restarted NWDI.Built and deployed the used DC as well as the main DC. The problem was solved.

The UNSUPPORTED CLASS VERSION ERROR was infact very much misleading as it was nothing to do with the versions of the server.

Thanks to all your suggestions.

Regards,

Janice Baby

Former Member
0 Kudos

Hi John!

Yes i checked and its the same J2SDK SE V1.4.2_12 which is used to run the DC.

Regards,

Janice

Former Member
0 Kudos

Hi!

Thanks for all your replies. I have done the checks on all what you had mentioned.But still facing this problem.So just briefing things all over again.

In my previous pc i had installed

1) SAP NWDS Version 7.0.18

2) J2RE SE V1.4.2_12

3) J2SDK SE V1.4.2_12

Server Details: J2SDK 1.4.2_13 (OS compatibility 64 bits)

Now my pc got replaced. I have installed the above mentioned softwares only. But still i am unable to figure why i am getting the major/minor class version error as while i was running the same application in my old PC it was working fine.

Should i get J2SDK 1.4.2_13 installed in my PC now? Can anyone suggest me how to solve this?

Any help would be really appreciated.

Thanks & Regards,

Janice

junwu
Active Contributor
0 Kudos

can you go to the development infrastructure perspective to check which jdk is currently used to build the DC?

junwu
Active Contributor
0 Kudos

I think you have installed a higher version of jdk, like JDK5.

you can set the which jdk is used to build your dc.

go development infrastructure perspective.

select your development configuration

under Technology-Specific, make your configuration there

Former Member
0 Kudos

Hi,

Whats the version of Portal?

Use J2sdk 1.4.2_XX not jre.

Regards

Deepak