我正在尝试运行一个JSF/Primefaces项目,该项目在jre更新之前就已经开始工作了。现在,我看到生成了以下错误并停止了部署:
[2021-03-18 05:13:48,685] Artifact Flowchart:war exploded: Artifact is being deployed, please wait...
[2021-03-18 05:13:50,114] Artifact Flowchart:war exploded: Error during artifact deployment. See server log for details.
[2021-03-18 05:13:50,114] Artifact Flowchart:war exploded: java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: Exception while deploying the app [Flowchart_war_exploded] : A MultiException has 4 exceptions. They are:
1. java.lang.NoClassDefFoundError: sun/security/util/CurveDB
2. java.lang.IllegalStateException: Unable to perform operation: post construct on com.sun.enterprise.security.ssl.SSLUtils
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.security.SecurityLifecycle errors were found
4. java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.security.SecurityLifecycle
. Please see server.log for more details.
我试着查找那些错误信息,但我什么也找不到。
我的JDK是1.8.0_202,JRE是1.8.0_281。
有人能帮我解决这个问题吗?
提前谢谢你。
发布于 2022-06-30 05:19:21
您需要检查domain.xml中映射的JDK。它基本上是说它找不到这些类的内容。它将位于JVM的第一行,您需要在这里验证glassfish配置匹配。
https://stackoverflow.com/questions/66694989
复制相似问题