我最近在计算机崩溃后恢复了我的 Java EE 设置,我想我会尝试 Open JDK 16 和 Glassfish 6.1.0,但是在部署我的应用程序时,我遇到了以下我以前从未见过的异常:
java.io.IOException: com.sun.enterprise.admin.remote.RemoteFailureException: Error occurred during deployment: Exception while deploying the app [myapp-0.0.1-SNAPSHOT] : org.xml.sax.SAXException: Requested schema is not found in local repository, please ensure that there are no typos in the XML namespace declaration.. Please see server.log for more details.
我不确定如何解决这个问题,或者我应该回滚到 JDK11。我之前运行的是 JDK 1.8.0 和 Glassfish 5.1.0