adding external jars in VP

Hello everyone,
I try to use apache POI to directly write in a excel from a VP.
I used rules and services, and configure the build path to the project where the rules are defined ( org.polarsys.capella.vp.vpname.af ) to add the reference to the external JAR.
I can import the desired items. However, when running, the error “java.lang.NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook” is triggered.
My guess is that I have to add the reference to the JAR to other project. Is that correct ?
regards,

When developing for capella, all your projects must be plugin projects. You never configure the build path manually for a plugin project. You manage it via its manifest. (Like in my answer to your other question). In this case, you have to go to the ‘runtime’ tab of the manifest editor, and add the jar to the list of libraries (on the bottom right part of the runtime tab).

You can find an OSGi version of POI in the following github repository:
https://github.com/ObeoNetwork/Bits
Or directly use the builded bundle as a dependency, see this update site:
http://obeo-networkaggregation-releases.s3-website-eu-west-1 .amazonaws.com/bits/master/thirdparties
for older version of POI you can use older releases of Bits:
http://obeo-networkaggregation-releases.s3-website-eu-west-1 .amazonaws.com/bits/0.12.0/thirdparties
for instance. A complete list of releases:
https://github.com/ObeoNetwork/Bits/releases
This is the version of POI used in M2Doc, the word document generator.

Why is Obeo not maintaining that in Eclipse Orbit?