[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] jar order hell

Hello everyone,

I am stuck with a very peculiar problem, and I have no idea how to proceed. I am building an SWT/JFace application. Just as everything was going fine, I ran into a very annoying error:

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

I probably looked at all the results that Google provided, but none of them were helpful. I wasn't even able to understand what caused this. I ran jarsigner on all the jar files that I had included in my project, and they were all verified. Then I tried randomly moving around the .jar files in Eclipse's "Order and Export" screen, and I made things worse.

Now the code doesn't run at all, and stops with the following errors:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Assert
at org.eclipse.jface.window.Window.<init>(Window.java:279)
at org.eclipse.jface.window.Window.<init>(Window.java:263)
at org.eclipse.jface.window.ApplicationWindow.<init>(ApplicationWindow.java:236)
at org.personalassistant.gui.JFaceGUI.<init>(JFaceGUI.java:50)
at org.personalassistant.gui.JFaceGUI.main(JFaceGUI.java:316)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.Assert
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)


I looked for org/eclipse/core/runtime/Assert class, in all the jar files, but only could find it in apache.jasper.jar.

I am clueless as to how to proceed with this. Moving around the .jar files some more had no effect. I would appreciate any kind of help with this.

Thanks, Berk