我正在寻找帮助在Java 9上运行Payara 5 Alpha的一些帮助。博客文章"Payara Server 5 Alpha 2 release is here!"说它在Java 9上运行payara域,但我仍然在AbstractModulesRegistryImpl.initializeServiceLocator上获得java.lang.NullPointerException - < / p>
C:\payara-5.0.0.Alpha4-20171117.004238-21\payara5\bin>java -version
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
C:\payara-5.0.0.Alpha4-20171117.004238-21\payara5\bin>asadmin.bat start-domain payaradomain
Exception in thread "main" java.lang.NullPointerException
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.initializeServiceLocator(AbstractModulesRegistryImpl.java:152)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.newServiceLocator(AbstractModulesRegistryImpl.java:144)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator(AbstractModulesRegistryImpl.java:218)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator(AbstractModulesRegistryImpl.java:224)
at com.sun.enterprise.module.single.StaticModulesRegistry.createServiceLocator(StaticModulesRegistry.java:88)
at com.sun.enterprise.admin.cli.CLIContainer.getServiceLocator(CLIContainer.java:216)
at com.sun.enterprise.admin.cli.CLIContainer.getLocalCommand(CLIContainer.java:254)
at com.sun.enterprise.admin.cli.CLICommand.getCommand(CLICommand.java:231)
at com.sun.enterprise.admin.cli.AdminMain.executeCommand(AdminMain.java:370)
at com.sun.enterprise.admin.cli.AdminMain.doMain(AdminMain.java:305)
at org.glassfish.admin.cli.AsadminMain.main(AsadminMain.java:56)
配置还有更多内容吗?我已经检查了github的Alpha2和Alpha3版本,但无法看到有关此内容的更多信息
由于
答案 0 :(得分:3)
Payara对JDK 9的支持仍处于早期阶段,并不可靠。它目前正在进行中,但它将在5.181发布时完成。您可以使用GitHub(https://github.com/payara/Payara/issues)来报告问题。您也可以通过向下滚动来从https://www.payara.fish/upstream_builds下载Payara 5的最新快照。