cancel
Showing results for 
Search instead for 
Did you mean: 

Java Mapping Linkage Error - External Jar File

former_member185846
Active Participant
0 Kudos

Experts,

I've written a java mapping with JDom2 and used the JDOM2 jar files as external Jar file inside the Java program. But when I tried to import the JAR of my java code in PI 7.31, it throws the Linkage Error - No Class Def found. I understand its due to the classpath and the external Jar file. So I tried using the import option https://archive.sap.com/discussions/thread/3204957

- (Project root - import - archive - JDOM jar), but with that the actual code itself is failing - import statement is unable to refer to the JDOM archive. Please help me here.

Thanks in advance.

randrews
Discoverer
0 Kudos

Hello.

Have you solved the problem?

I searching the solution too.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jeo,

I hope, you have added the JAR file in Message Mapping - > Functions -> Archives Used .

Warm Regards,

Rudra