Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

multiple .jar file in java mapping

$
0
0

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(ClassLoader.java:735)

 

 

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

 

Thanks


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>