Answer the question
In order to leave comments, you need to log in
How to disable signer in Java?
There is a project that was previously signed for all libraries. I rewrote all manifest files, but one of the updated libraries doesn't work. Here is the launch stack trace:
Exception in thread "main" java.lang.SecurityException: class "javax.media.opengl.GLJPanel"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:895)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:665)
at java.lang.ClassLoader.defineClass(ClassLoader.java:758)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethod(Class.java:2128)
at java.awt.Component.isCoalesceEventsOverriden(Component.java:6220)
at java.awt.Component.access$500(Component.java:186)
at java.awt.Component$3.run(Component.java:6174)
at java.awt.Component$3.run(Component.java:6172)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Component.java:6171)
at java.awt.Component.<init>(Component.java:6140)
at java.awt.Container.<init>(Container.java:283)
at javax.swing.JComponent.<init>(JComponent.java:588)
at javax.swing.JPanel.<init>(JPanel.java:82)
at com.componentix.countertopeditor.controls.renderer.Renderer.<init>(Renderer.java:232)
at com.componentix.countertopeditor.controls.RendererPanel.<init>(RendererPanel.java:95)
at com.componentix.countertopeditor.AppletMain.<init>(AppletMain.java:216)
at com.componentix.countertopeditor.AppletMain.main(AppletMain.java:1053)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question