Skip to Content
0

Java Mapping Linkage Error - External Jar File

Feb 07, 2017 at 08:55 PM

85

avatar image

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.

10 |10000 characters needed characters left characters exceeded
Former Member

Hello.

Have you solved the problem?

I searching the solution too.

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

1 Answer

Rudra Singh Feb 08, 2017 at 07:10 AM
0

Hi Jeo,

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

Warm Regards,

Rudra

Share
10 |10000 characters needed characters left characters exceeded