首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于endorsed.dirs错误,Glassfish未启动

由于endorsed.dirs错误,Glassfish未启动
EN

Stack Overflow用户
提问于 2017-12-05 09:58:03
回答 1查看 3.3K关注 0票数 5

当我试图在IntelliJ的Glassfish 4.1中启动一个域时,出现了这个错误:

代码语言:javascript
复制
JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1.
Before it died, it produced the following output:

-Djava.endorsed.dirs=/opt/glassfish4/glassfish/modules/endorsed:/opt/glassfish4/glassfish/lib/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.

我发现批注的目录在Java 9中已经被弃用,所以我检查了我的配置,所有的目录似乎都在使用Java 8。

我还尝试从命令行开始,使用相同的输出。

EN

回答 1

Stack Overflow用户

发布于 2018-07-10 22:20:55

我不得不从我的config/domain.xml中删除所有提到-Djava.endorsed.dirs-Djava.ext.dirs的内容

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47644901

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档