Skip to Content
May 29, 2015 at 09:06 AM

multiple .jar file in java mapping


Hi Experts

I have a scenerio in which I have used the java mapping..

The jar file which I have created is in Ecplise has around 10 jar files which also need to get imported.

so, I have created the zip file and created the imported archieve

issue 1

when i tried to use the imported archieve in OM, in the dropdown I cannt see archeive object

what i did:

I tried to add .class file of the main program and again impoted the archeive

ok, now I am able to see the objects

But again when I tried to run the Mapping in the OM , its throwing:

  • LinkageError at JavaMapping.load(): Could not load class: jar files - Copy/test_dom2
  • java.lang.NoClassDefFoundError: jar files - Copy/test_dom2 (wrong name: com/tcs/interfaces/keycard/outbound/initiateKeycardRequest)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(

My question is

1. do i need to add all the jar files in a zip folder

2. do i need to include the .class file externally of the main class?

3. I have seen in the post that linkage error is coz java which Pi is using and that of eclipse are different. What should i do in that case