jna-platform,xalan, batik-script InvalidModuleDescriptorException

Rahman USTA rahman.usta.88 at gmail.com
Mon Apr 10 21:49:25 UTC 2017


I try to adopt my application to Java 9. It use several 3rd party
dependency from Maven. I get the following exceptions Because I'm not  the
author of this libraries, how can I adopt this libraries to my Jigsaw
project ?

Thanks.

1) Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for
\.m2\repository\net\java\dev\jna\jna-platform\4.4.0\jna-platform-4.4.0.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Main-Class
com.sun.jna.Native not in module

2) Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for
\.m2\repository\org\apache\xmlgraphics\batik-script\1.8\batik-script-1.8.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider
class org.apache.batik.bridge.RhinoInterpreterFactory not in module

3) Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for
\.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider
class org.apache.bsf.BSFManager not in module

Thanks.

-- 
Rahman USTA
Istanbul JUG
https://github.com/rahmanusta


More information about the jigsaw-dev mailing list