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 ( ) 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 ?

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:
Or directly use the builded bundle as a dependency, see this update site:
for older version of POI you can use older releases of Bits:
for instance. A complete list of releases:
This is the version of POI used in M2Doc, the word document generator.

Why is Obeo not maintaining that in Eclipse Orbit?

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.