Skip to Content
avatar image
Former Member

LinkageError during appliction Java mapping

Dear All,

After upgrading PI 7.02 to PI 7.3 version, our Java mapping programs are throwing "LinkageError during appliction Java mapping - Thrown: java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI ".

Has anyone seen this issue before?. I found a note which similar symptos which is applicable for only XI 3.0 but could not find any notes related to PI 7.1 or PI 7.3?.

Thanks in advance.

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 01, 2012 at 08:53 AM

    Hi,

    >>>NoClassDefFoundError

    this means that you need to upload the apache libs again to PI and activate I'd say

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      You can try the following with one of the java mapping codes. If successful, then apply the same for all other java mapping codes

      1. install j2se 1.5.0 in your local system.(Pls verify java version from BASIS team. you need to do trial and error until you get perfect java installation in your local system. Pi 7.1 accepts codes compiled in j2se and jre 1.5.0)

      2. install eclipse or NWDS

      3. add external jar file say aii_map_api.jar in project build path, This file you can obtain by studying this link

      http://wiki.sdn.sap.com/wiki/display/XI/WheretogetthelibrariesforXI+development

      4. You need not run the codes in local system but try project->build all options in eclipse (or compile the code in NWDS).

      5. Export the jar file containing .class file and .java file into PI server again

      Then I think your problem will get resolved. Linkage error comes due to the fact that java version used to compile the java classes in PI 7.0 was j2se 1.4.2 now the java version in PI 7.3 is 1.5 or more pls get it confirmed from your BASIS team.

      Thus if you recompile the java classes in correct java version meant for PI 7.3 you will not get Linkage error.

      Hope this helps.

      Regards

      Anupam