Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using external jars in Java Mapping jar archive

Hello experts,

we want to create a Java Mapping and in the corresponding jar file external libraries will be used. Is it possible to add a library (like iText or Apache POI) to the Java Mapping jar file? I don't want to add such libraries to the standard class path.

When I add them to the lib folder of the mapping jar, the mapping doesn't work and I get a class not found exception?

Best regards,

David

Former Member
Former Member replied

You can create in individual object "imported archive" for every library that you reference.

You can access the imported archive of the same SWVC/namespace in every Java Mapping, XSLT mapping or graphical mapping (e.g. UDF).

Regards

Stefan

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question