由于以下错误,DeskNow 未正确启动:
以下是错误的完整堆栈跟踪:
java.lang.ExceptionInInitializerError at javax.crypto.JceSecurityManager.(JceSecurityManager.java:65) at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2543) at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2567) at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:548) at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:527) at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:194) at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl.java:350) at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.java:301) at sun.security.ssl.SSLServerSocketImpl.initServer(SSLServerSocketImpl.java:162) at sun.security.ssl.SSLServerSocketImpl.(SSLServerSocketImpl.java:114) at sun.security.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:79) at com.ventia.mail.c.k.(k.java:1) at com.ventia.mail.c.s.(s.java:24) at com.ventia.freedom.k.d.init(d.java:421) at com.ventia.freedom.k.d$$EnhancerByCGLIB$$c3ccb642.CGLIB$init$46() at com.ventia.freedom.k.d$$EnhancerByCGLIB$$c3ccb642$$FastClassByCGLIB$$9058e013.invoke() at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) at com.ventia.freedom.n.s.intercept(s.java:6) at com.ventia.freedom.k.d$$EnhancerByCGLIB$$c3ccb642.init() at com.ventia.freedom.n.w.a(w.java:156) at com.ventia.freedom.n.w.i(w.java:415) at com.ventia.freedom.g.b$0.run(b$0.java:3) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism at javax.crypto.JceSecurity.(JceSecurity.java:89) ... 23 more Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted signer! at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:289) at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316) at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261) at javax.crypto.JceSecurity.access$000(JceSecurity.java:48) at javax.crypto.JceSecurity$1.run(JceSecurity.java:81) at java.security.AccessController.doPrivileged(Native Method) at javax.crypto.JceSecurity.(JceSecurity.java:78) ... 23 more The error occurred at Thu May 22 11:12:03 MYT 2014 DeskNow needs to be restarted.
如果我在 Windows 上安装它,我会遇到空指针异常。我需要做什么来解决这个问题?
最佳答案
您需要根据您的jdk 版本从Oracle 下载站点下载JCE zip 文件。它将附带 2 jar local_policy.jar
和 US_export_policy.jar
,以及 README.txt
文件。您需要按照 README 文件中的说明进行操作,实际上需要安装部分。
关于Desknow 应用程序上的 Java JCE 安全错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23797289/