How to run Wildfly 14 with java 11?

后端 未结 1 814
隐瞒了意图╮
隐瞒了意图╮ 2020-12-09 21:26

I\'m using Wildfly 14 and Java 11 in its runtime configuration. When I start the server I get

org.jboss.modules.ModuleNotFoundException: java.se
    at org.j         


        
相关标签:
1条回答
  • 2020-12-09 21:57

    There was some change in Java 11 where java.se must be read on the module path. In Wildfly's run configuration under VM arguments add

    --add-modules=java.se
    

    Should be fixed in later versions.

    0 讨论(0)
提交回复
热议问题