Skip to Content

Java Mapping Linkage Error - External Jar File

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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,

    Rudra

    Add comment
    10|10000 characters needed characters exceeded