我在JRE 7中最近的安全更新后加载applet时出现问题。小程序在JRE 6上工作正常,但在7上我得到以下错误消息:
弹出窗口,显示错误:
ExitException[ 3]com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://URL_TO_SERVER:9081/Application/applet/lib/ExternalLibrary.jar
at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
和在Java控制台中我可以看到与上面相同的错误,但也有一些额外的信息:
java.lang.SecurityException: invalid SHA1 signature file digest for com/ibm/api/admin/DirectoryConfigurationSunOne.class
at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
java.io.IOException: invalid SHA1 signature file digest for com/ibm/api/admin/DirectoryConfigurationSunOne.class
at com.sun.deploy.cache.CacheEntry$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
如何解决这个问题?感谢。
答案 0 :(得分:1)
JAR文件签了两次,这是一个问题。