• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

signer information does not match signer information of other classes in the same package

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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(MyApp.java:121)
Caused by: org.apache.commons.logging.LogConfigurationException: 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(LogFactory.java:579)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:517)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:308)
at com.mycom.myprod.proj2.swing.logging.LogFactoryHelper.getFactory(LogFactoryHelper.java:88)
at com.mycom.myprod.proj2.swing.logging.LogFactoryHelper.getFactory(LogFactoryHelper.java:61)
at com.mycom.myprod.proj2.swing.DesktopContext.<clinit>(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.java:487)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.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.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.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(LogFactory.java:531)
... 7 more
 
Something about .... going for a swim. With this tiny ad ...
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic