Hi, Basically I get package conflicts when adding the NetBeans platform (release 82) to a modular project. I made it into a [Stackoverflow question](https://stackoverflow.com/questions/66047890/netbeans-platform-module-mymodule-contains-package-java-xml-package-module-jav), but here it is as this is directly relevant to NetBeans specialists:
GephiFunctions is my Java library following the module logic of Java (has a module-info.java). The project depends on the [Gephi Toolkit][1], itself depending on the [release 82 of the NetBeans platform][2] (not the NetBeans IDE, to be clear, but the NetBeans platform). When I call a method from this library, I get: Error occurred during initialization of boot layer java.lang.module.ResolutionException: Module GephiFunctions contains package javax.xml.namespace, module java.xml exports package javax.xml.namespace to GephiFunctions I tried to exlude the libraries that included java.xml packages: <dependency> <groupId>org.gephi</groupId> <artifactId>gephi-toolkit</artifactId> <version>0.9.2</version> <exclusions> <exclusion> <groupId>stax</groupId> <artifactId>stax-api</artifactId> </exclusion> <exclusion> <groupId>org.apache.xmlgraphics</groupId> <artifactId>batik-ext</artifactId> </exclusion> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis-ext</artifactId> </exclusion> </exclusions> </dependency> Now the project launches, but these libraries are needed tun run the Gephi toolkit, because this basic call fails (returns null): ProjectController pc = Lookup.getDefault().lookup(ProjectController.class); I need to have this GephiFunctions to be a module, because it is integrated in a larger modular application (having it as a classic jar would turn it into an unnamed module, which would open all its packages and continue creating these conflicting packaging issues). Anything I could try before throwing the towel? [1]: https://github.com/gephi/gephi-toolkit [2]: https://mvnrepository.com/artifact/org.netbeans.api/org-netbeans-modules-java-platform/RELEASE82 -- Clément Levallois Associate Professor emlyon business school Twitter and Skype: @seinecle mobile: +33(0)6 59 08 33 92 Sent with [ProtonMail](https://protonmail.com) Secure Email.