我在netbeans 8.2上遇到了jdk1.8.0_311和payara-5.2021.10的类似问题。payara 在终端中成功启动命令:
glassfish/bin/asadmin start-domain
,但是当我在netbeans中启动服务器时,我有一些错误:
Unrecognized VM option 'UseOpenJSSE'
Unrecognized VM option 'HotswapAgent=core'
Unrecognized option: -Xlog:redefine+class*=info
OndroMih的解决方案效果很好。我已在 domain.xml 中删除了这些行。" glassfish/domains/domain1/config/domain.xml
"
<jvm-options>[Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE</jvm-options>
<jvm-options>[Dynamic Code Evolution-11.0.10|]-XX:HotswapAgent=core</jvm-options>
<jvm-options>[Dynamic Code Evolution-11.0.10|]-Xlog:redefine+class*=info</jvm-options>
现在好啦