Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15705

Maven Wildfly plugin should be working with Java 9+


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.2.0.GA.CR1
    • 7.2.0.GA
    • None
    • Workaround Exists
    • Hide

      Add <java-opts>--add-modules=java.se</java-opts> to plugin configuration

      Add <java-opts>--add-modules=java.se</java-opts> to plugin configuration

      Without the workaround, the following error is thrown by JVM upon starting EAP/JBoss CLI utilising the plugin:

      21:35:19 [INFO] STANDALONE server is starting up.
      21:35:20 org.jboss.modules.ModuleNotFoundException: java.se
      21:35:20 	at org.jboss.modules.Module.addPaths(Module.java:1266)
      21:35:20 	at org.jboss.modules.Module.link(Module.java:1622)
      21:35:20 	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
      21:35:20 	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296)
      21:35:20 	at org.jboss.modules.Main.main(Main.java:437)

      We ship this plugin with Maven repository. This is pretty cumbersome and a blocker to migrating application without change of configuration. Adding an insult to injury, workaround will cease the plugin to be able to boot EAP on JDK8.

            jperkins-rhn James Perkins
            mjurc@redhat.com Michal Jurc
            Michal Jurc Michal Jurc
            Michal Jurc Michal Jurc
            0 Vote for this issue
            3 Start watching this issue