Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Java.lang.ClassNotFoundException
Java.lang.ClassNotFoundException [message #1385981] Thu, 12 June 2014 15:39 Go to next message
John Doe is currently offline John DoeFriend
Messages: 25
Registered: May 2014
Junior Member
Hi,

I don't know why, all my e(fx)clipse projects do not run any more. I have this error for all class of my project. (here it's an example for the class RefreshHandler".

!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-06-12 17:30:46.210
!MESSAGE Unable to load class 'test.handlers.RefreshHandler' from bundle '32'
!STACK 0
java.lang.ClassNotFoundException: test.handlers.RefreshHandler cannot be found by test_1.0.0
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:100)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
	at org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon.processActiveHandler(HandlerProcessingAddon.java:158)
	at org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon.postConstruct(HandlerProcessingAddon.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:267)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:186)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:105)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:49)
	at org.eclipse.fx.ui.workbench.fx.E4Application.createE4Workbench(E4Application.java:243)
	at org.eclipse.fx.ui.workbench.fx.E4Application.jfxStart(E4Application.java:111)
	at org.eclipse.fx.osgi.util.AbstractJFXApplication$JFXApp.start(AbstractJFXApplication.java:51)
	at com.sun.javafx.application.LauncherImpl$8.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$7.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
	at com.sun.javafx.application.PlatformImpl$6$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl$6.run(Unknown Source)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.access$300(Unknown Source)
	at com.sun.glass.ui.win.WinApplication$4$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Does someone know what happened ? Thanks.
Re: Java.lang.ClassNotFoundException [message #1385990 is a reply to message #1385981] Thu, 12 June 2014 17:18 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Looks like a classpath issue. It could be a VM version mismatch as well.

This probably isn't the correct forum to ask for help with something like this.
Previous Topic:drop down box
Next Topic:WindowBuilder shows changes in design and source code but not when run as application
Goto Forum:
  


Current Time: Fri Mar 29 08:03:45 GMT 2024

Powered by FUDForum. Page generated in 0.07413 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top