我尝试在javafx中运行我的项目并使用u8.45 jdk。在浏览器中运行时给出错误。我运行我的项目所遵循的步骤只是将Netbean中提供的运行选项更改为"在浏览器中运行"
错误:
com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: file:/C:/Users/chirag/Desktop/trunk/User_management_application/dist/User_management_application.jar
at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
at com.sun.javaws.security.SigningInfo.check(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(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)
请指导我如何在网络浏览器中运行项目,
非常感谢你。答案 0 :(得分:0)
您需要签署您的应用程序以解决此问题。因为Java 7u51,oracle已经强制要求所有RIA应用程序都要签名才能在浏览器上运行它。您可以在此oracle博客中找到完整的信息:
New security requirements for RIAs in 7u51 (January 2014)
如果您想了解有关如何签署申请的详细信息,请访问: