Hi, How and where can I introduce something like below in my Mendix 6.5 project? <dependency> <groupid>xml-apis</groupid> <artifactid>xml-apis</artifactid> <version>1.4.01</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.9</version> <exclusions> <exclusion> <artifactId>xml-apis</artifactId> <groupId>xml-apis</groupId> </exclusion> </exclusions> </dependency> I am getting "java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal" while trying to generate a PDF. I have included xml-api1.4.01.jar in my project as well, but it is still unresolved. It strangely works when I run it from modeller. So i need to define dependency and exclusion because of conflicting poi and xml-api's. Any help is appreciated. Thanks, Sharad R K
asked
Sharad R K
1 answers
0
Maven is not used by Mendix but you can try the following.
Create a new maven project in eclipse
Include your depencies
Run maven build
Copy all downloaded/used jars to your mendix userlib.