Results 1 to 1 of 1
- 02-10-2011, 08:09 PM #1
Member
- Join Date
- Apr 2010
- Posts
- 9
- Rep Power
- 0
signer information doesnot match signer info of other classes in the same package
I compile my Swing program with some third party jar files successfully but running it has the following error in Eclipse 3.3.2, JDK 6 & Windows XP.
However, running my Swing program as a Java web start program on the command line is ok:
javaws http://localhost:7001/webstart/myapp/launch.jnlp
I do not use any log statement in my program.
I cannot modfiy the third party jar files.
Please help.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.mycom.myprod.proj.client.swing.MyApp.main(MyAp p.java:121)
Caused by: org.apache.commons.logging.LogConfigurationExcepti on: java.lang.SecurityException: class "org.apache.commons.logging.Log"'s signer information does not match signer information of other classes in the same package (Caused by java.lang.SecurityException: class "org.apache.commons.logging.Log"'s signer information does not match signer information of other classes in the same package)
at org.apache.commons.logging.LogFactory$2.run(LogFac tory.java:579)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.logging.LogFactory.newFactory(L ogFactory.java:517)
at org.apache.commons.logging.LogFactory.getFactory(L ogFactory.java:308)
at com.mycom.myprod.proj2.swing.logging.LogFactoryHel per.getFactory(LogFactoryHelper.java:88)
at com.mycom.myprod.proj2.swing.logging.LogFactoryHel per.getFactory(LogFactoryHelper.java:61)
at com.mycom.myprod.proj2.swing.DesktopContext.<clini t>(DesktopContext.java:287)
... 1 more
Caused by: java.lang.SecurityException: class "org.apache.commons.logging.Log"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java: 775)
at java.lang.ClassLoader.preDefineClass(ClassLoader.j ava:487)
at java.lang.ClassLoader.defineClass(ClassLoader.java :614)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$000(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.commons.logging.LogFactory$2.run(LogFac tory.java:531)
... 7 more
Similar Threads
-
NetBeans losing package information when crashing
By Kethas in forum New To JavaReplies: 4Last Post: 03-03-2010, 05:38 AM -
Need a good java package recommended for reading webbrowsers info.
By Addez in forum New To JavaReplies: 2Last Post: 12-16-2009, 11:06 PM -
The declared package does not match the expected package
By oneforall in forum EclipseReplies: 7Last Post: 11-09-2009, 07:51 AM -
get classes of a certain package
By ashraf shaban in forum New To JavaReplies: 4Last Post: 07-08-2008, 07:20 PM -
Passing variable information between classes
By zen_to_go in forum New To JavaReplies: 1Last Post: 10-30-2007, 08:09 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks