在资源中找到未签名的条目 ... .jar [英] Found unsigned entry in resource ... .jar

查看:35
本文介绍了在资源中找到未签名的条目 ... .jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Netbeans 编译和签署我所有的 jars,所有的 jars 都使用相同的证书.但是,当我使用 Sun Java SE 6 运行 Webstart 时,出现错误 Found unsigned entry in resource .. .jar.

I'm using Netbeans to compile and sign all my jars, all with the same certificate. However, when I run Webstart with Sun Java SE 6, I get the error Found unsigned entry in resource .. .jar.

我在添加和删除罐子等方面搞砸了,但没有运气.

I messed around with adding and removing jars, etc, but no luck.

据我所知,密钥库位于构建目录中,并在每次清理和构建时创建.

As far as I know the keystore is in the build directory and gets created on every clean and build.

它不是针对一个 jar 而是针对多个 jar 给出此错误(切换 jar 的顺序让我相信这一点).

It gives this error not for one jar, but multiple (switching orders of jars led me to believe this).

我使用的是 Netbeans 7.今天早上我启动了 Windows 并出现错误,这是我昨天或之前没有的.

I'm using Netbeans 7. I booted Windows this morning and got the error, which I didn't have yesterdag or before.

我正在拔头发,Webstart 之类的东西快把我逼疯了!任何帮助将不胜感激.

I'm pulling my hair out, Webstart and the like is driving me crazy! Any help would be really appreciated.

顺便说一句,清单文件看起来都不错.

The manifest files all look alright btw.

jnlp 看起来也不错,并且在它坏掉之前没有任何变化.

The jnlp looks fine as well, and didnt change any from before it broke.

推荐答案

启用 JAR 缓存应该可以解决问题.这是 Java 中存在 的常见错误.详情请看我的博文:https://www.noaker.net/post/found-unsigned-entry-in-resource-java-web-start.html

Enabling JAR caching should fix the problem. It's a common bug that exists in Java for years. For details, see my blogpost: https://www.nowaker.net/post/found-unsigned-entry-in-resource-java-web-start.html

这篇关于在资源中找到未签名的条目 ... .jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆