cancel
Showing results for 
Search instead for 
Did you mean: 

Incompatible class versions :linkage error->JAVADOM

former_member185845
Active Participant
0 Kudos

HI,

We have done Mapping using java DOm,created ZIp file & successfully imported in IR.

My NWDS is using java 1.4.2_15

we are using PI70/Sp09/Java Version 1.5.0_14

During Execution in IE we are getting this error.

-


error -


<SAP:Code area="MAPPING">LINKAGE_ERROR</SAP:Code>

<SAP:Stack>Incompatible class versions (linkage error)</SAP:Stack>

<Trace level="1" type="T">Interface Mapping http://XI/Mapping/JavaDom/DOMMapping4 IM_ORDER1_ORDER</Trace>

<Trace level="1" type="T">LinkageError at JavaMapping.load(): Could not load class: CSJAVA/com/yash/xi/DOMMapping4</Trace>

<Trace level="1" type="T">java.lang.NoClassDefFoundError: JAVA/com/xi/DOMMapping4 (wrong name: com//xi/DOMMapping4) at java.lang.ClassLoader.defineClass0

Regards

shekar chandra

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I had a similar issue today. Solution: The path in the Imported Archive was wrong. I had imported something like /com/pi... as namespace. As soon as I changed this to just /com/pi... it worked. Maybe you have a similar problem? I see two slashes in your namespace.

Regards,

Jörg

Former Member
0 Kudos

Once again check the version being used by NWDS.

I too faced the same problem.My IDE was using java version 1.5 .It worked fine when i changed the NWDS Java version to 1.4.

former_member185845
Active Participant
0 Kudos

Dear Anu,

Now my IDE is running on 1.5.0_14 so as my PI server(70).Still i am getting same error.

Have you tried this mapping on PI70 sp09?.

i dont know where the problem is.

regards

shekar chandra

prateek
Active Contributor
0 Kudos

we are using PI70/Sp09/Java Version 1.5.0_14

Use java version 1.4.2_xx

Regards,

Prateek

former_member185845
Active Participant
0 Kudos

Dear Prateek,

You want us to change the jdk version on Server from 1.5 to 1.4?

Will it not work on this version , i mean any patch or .sca file to clear this issue?

Regards

shekar chandra

Former Member
0 Kudos

Hi,

Check the links they may help u out.

Event or DOM parsing?

http://discuss.joelonsoftware.com/default.asp?design.4.156750.12

XML Parsers: DOM and SAX Put to the Test

http://www.devx.com/xml/Article/16922/1954?pf=true

Regards,

Phani