Skip to Content

Java Mapping Linkage Error - External Jar File

Feb 07, 2017 at 08:55 PM


avatar image


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

- (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.

10 |10000 characters needed characters left characters exceeded
Former Member


Have you solved the problem?

I searching the solution too.

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rudra Singh Feb 08, 2017 at 07:10 AM

Hi Jeo,

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

Warm Regards,


10 |10000 characters needed characters left characters exceeded