我有一个通过 java web start 启动的 java 应用程序(使用 glassfish 4.0)。更新到 java 7u25 后,它不再工作了。这是错误消息的一部分。
Missing Permissions manifest attribute for: http://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.security.auth.message-api.jar
Missing Codebase manifest attribute for: http://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.security.auth.message-api.jar
Missing Permissions manifest attribute for: http://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-naming.jar
Missing Codebase manifest attribute for: http://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-naming.jar
#### Java Web Start Error:
#### java.lang.ClassCircularityError: com/sun/enterprise/security/ee/PermissionCache
Exception in thread "Javaws Secure Thread" java.lang.ClassCircularityError: com/sun/enterprise/security/ee/PermissionCache
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.isCheckMemberAccessOverridden(Unknown Source)
at java.lang.Class.checkMemberAccess(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
首先,为什么突然出现ClassCircularityError?此外,为了消除属性警告,我可能会将属性添加到清单中。但是修改第三方jar真的是个好方案吗?