Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80881

PDF Issue - Library Dependency Resolution

$
0
0

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


Viewing all articles
Browse latest Browse all 80881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>