Dear Experts,
I am trying to test the JAVA mapping compiled in NWDS but receiving the error
"LinkageError at JavaMapping.load(): Could not load class".
java.lang.NoClassDefFoundError: JSONXMLProject/bin/com/sap/json/ConvJson2Xml (wrong name: com/sap/json/ConvJson2Xml)
at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:735)
at java.lang.ClassLoader.defineClass(ClassLoader.java:716) at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at com.sap.aii.ib.server.mapping.execution.MappingLoader.findClass(MappingLoader.java:195)
Following are the details:
SAP PO 7.4
SP Stack Number 05
JDK Version jdk16
NWDS
SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.3 SP10 PAT0000
1.Created the Project , Package and then class (Included the logic)
2. Included 1 JSON Jar file into my project and the Added to build path.
3.Exported the project as Archive File and saved in desktop
4.Imported into SAP PO system as Imported Archive
5.Could not observe the JSON jar file which i used as referenced JAR in NWDS
6.Tested in OM after referencing the JAVA class and found the above error.
I have JDK 5, 6 and 7 present in my local desktop and I am trying to export the compiled code using both JAVA SE 1.6 and 1.5 in NWDS seperatly after going several discussions.
Can any one hep me with the screenshots and tell me how to include all the reference jar files in exported project..
Regards..