cancel
Showing results for 
Search instead for 
Did you mean: 

linkage error in java mapping

Former Member
0 Kudos

Hi,

i wrote a java code and i compiled it and imported the same into XI.but while running im getting the following error which i can see in runtime work bench.Can anyone please help me with this

<SAP:Stack>Class versions are incompatible (linkage error)</SAP:Stack>

Thanks in advance,

Bhargav

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member529475
Active Contributor
0 Kudos

HI Bhargav,

Have a look in OSS Message #75530

As of the jdk 1.4.2_05 from Sun, this program error occurs during the mapping in the runtime or during testing in the Repository. This error may also occur in conjunction with jdks of other vendors or other versions.

The error is corrected with Support Package 5 for Support Package 03 for the XI TOOLS 3.0 software component.

Import the corresponding archive SAPXITOOL03P_5.SCA for SAP Exchange Infrastructure XI 3.0 as described in the Netweaver 04 Support Package Stac Guide.

You will find the archive and the guide in the SAP Service Marketplace under the alias "SP stacks -> SAP NetWeaver -> SAP NetWeaver 04".

Cheers...

Vasu

<b>** REward Points if found useful **</b>

bhavesh_kantilal
Active Contributor
0 Kudos

also make sure that the import parameters in the java code are all specific to the XI java mapping class.

I have seen cases when using NWDS, imports of Swing were used instead of the SAX class etc. Make sure that the import parameters are relevant to the logic / and methods of Java mapping.

Regards

Bhavesh

cdumont69
Contributor
0 Kudos

Hello,

Are you sure you use the same JDK version and XI Mapping Libraries ?

Regards,

Chris

Former Member
0 Kudos

Can u please share with me which version of jdk does xi support

Thanks in advance,

Bhargav

justin_santhanam
Active Contributor
0 Kudos

Bhargav,

XI is stable with JDK 1.4.2 version.

Please check with SAP note: 755302

If u don't have acces to SAP Notes let me know i'll paste here for u.

Best regards,

raj.

Former Member
0 Kudos

Dear Raj,

Can u please share the sap note with me.

Thanks in advance,

Bhargav

Message was edited by:

bhargav gundabolu