on 03-01-2012 8:51 AM
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
Hi,
>>>NoClassDefFoundError
this means that you need to upload the apache libs again to PI and activate I'd say
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. "Imported Archives" contains the java classes required for the java mapping but does not have the XPath apache library.
Do you think that i have to import library containing XPath apache library as imported archives?. We could not be importing this apache jar file as imported archive of every java mapping ?. i get the feeling that SAP changed something about XML parsing libraries?..
Any idea.
Regards
Hi,
>>>>Do you think that i have to import library containing XPath apache library as imported archives?.
give it a try
>>>We could not be importing this apache jar file as imported archive of every java mapping ?.
no, just once - function libraries - archived used option
Regards,
Michal Krawczyk
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.