java. io. IOException: invalid keystore format
•
Java
Who knows how to solve this problem?
When I click on more details, I get this:
at sun.security.provider.JavaKeyStore.engineLoad(UnkNown Source) atsun.security.provider.JavaKeyStore$JKS.engineLoad(UnkNown Source) at java.security.KeyStore.load(UnkNown Source) at com.sun.deploy.security.RootCertStore$1.run(UnkNown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.RootCertStore.loadCertStore(UnkNown Source) at com.sun.deploy.security.RootCertStore.load(UnkNown Source) at com.sun.deploy.security.RootCertStore.load(UnkNown Source) at com.sun.deploy.security.ImmutableCertStore.load(UnkNown Source) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(UnkNown Source) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(UnkNown Source) at sun.plugin.security.PluginClassLoader.getPermissions(UnkNown Source) at java.security.SecureClassLoader.getProtectionDomain(UnkNown Source) at java.security.SecureClassLoader.defineClass(UnkNown Source) at java.net.urlclassloader.defineClass(UnkNown Source) at java.net.urlclassloader.access$000(UnkNown Source) at java.net.urlclassloader$1.run(UnkNown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.urlclassloader.findClass(UnkNown Source) at sun.applet.AppletClassLoader.findClass(UnkNown Source) at java.lang.ClassLoader.loadClass(UnkNown Source) at sun.applet.AppletClassLoader.loadClass(UnkNown Source) at java.lang.ClassLoader.loadClass(UnkNown Source) at sun.applet.AppletClassLoader.loadCode(UnkNown Source) at sun.applet.AppletPanel.createApplet(UnkNown Source) at sun.plugin.AppletViewer.createApplet(UnkNown Source) at sun.applet.AppletPanel.runLoader(UnkNown Source) at sun.applet.AppletPanel.run(UnkNown Source) at java.lang.Thread.run(UnkNown Source)
Solution
You may damage the file during copy / transfer
Do you use Maven? If you copy the keystore file with "filter = true", the file may be damaged
Please check the file size
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码