我有一個java應用程序,它是通過java web start啓動的(使用glassfish 4.0)。更新到Java 7u25後,它不再工作。這是錯誤消息的一部分。Java Web Start在版本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是一個很好的計劃嗎?
謝謝,很高興知道 – dominicp