org.eclipse.core.runtime.CoreException: Plug-in MMWorkbench was unable to load class mm.hmi.workbench.MMWorkbenchApplication.

Spring JIRA | Will Lieu | 9 years ago
  1. 0

    How do I create get around this class loader issue with Eclipse RCP Applications. I am developing an Eclipse Application in which I created an application logger using Spring AOP but yet somehow It won't find my PDE class when I go to retrieve a simple Spring Bean from the Container. It throws the following exception: !SESSION 2008-06-09 08:40:44.149 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -application MMWorkbench.application Command-line arguments: -application MMWorkbench.application -data C:\workspace/../runtime-MMWorkbench.application -dev file:C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/dev.properties -debug C:\workspace\.metadata\.plugins\org.eclipse.pde.core\MMWorkbench.application/.options -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2008-06-09 08:40:45.367 !MESSAGE Application error !STACK 1 org.eclipse.core.runtime.CoreException: Plug-in MMWorkbench was unable to load class mm.hmi.workbench.MMWorkbenchApplication. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException: mm.hmi.workbench.MMWorkbenchApplication at java.lang.ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) Tracing: Configuration location: file:/C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/ Configuration file: file:/C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/config.ini loaded Install location: file:/C:/eclipse/ Framework located: file:/C:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar Framework classpath: file:/C:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar Debug options: file:/C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/.options loaded Time to load bundles: 47 Starting application: 1203

    Spring JIRA | 9 years ago | Will Lieu
    org.eclipse.core.runtime.CoreException: Plug-in MMWorkbench was unable to load class mm.hmi.workbench.MMWorkbenchApplication.
  2. 0

    How do I create get around this class loader issue with Eclipse RCP Applications. I am developing an Eclipse Application in which I created an application logger using Spring AOP but yet somehow It won't find my PDE class when I go to retrieve a simple Spring Bean from the Container. It throws the following exception: !SESSION 2008-06-09 08:40:44.149 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -application MMWorkbench.application Command-line arguments: -application MMWorkbench.application -data C:\workspace/../runtime-MMWorkbench.application -dev file:C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/dev.properties -debug C:\workspace\.metadata\.plugins\org.eclipse.pde.core\MMWorkbench.application/.options -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2008-06-09 08:40:45.367 !MESSAGE Application error !STACK 1 org.eclipse.core.runtime.CoreException: Plug-in MMWorkbench was unable to load class mm.hmi.workbench.MMWorkbenchApplication. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException: mm.hmi.workbench.MMWorkbenchApplication at java.lang.ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) Tracing: Configuration location: file:/C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/ Configuration file: file:/C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/config.ini loaded Install location: file:/C:/eclipse/ Framework located: file:/C:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar Framework classpath: file:/C:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar Debug options: file:/C:/workspace/.metadata/.plugins/org.eclipse.pde.core/MMWorkbench.application/.options loaded Time to load bundles: 47 Starting application: 1203

    Spring JIRA | 9 years ago | Will Lieu
    org.eclipse.core.runtime.CoreException: Plug-in MMWorkbench was unable to load class mm.hmi.workbench.MMWorkbenchApplication.
  3. 0

    关于org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException:异常的处理办法 - 幽谷草的日志 - 网易博客

    163.com | 1 year ago
    org.eclipse.core.runtime.CoreException: Plug-in com.hwsy.fssr.zsdw was unable to load class com.hwsy.fssr.zsdw.app.Application.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse RCP cannot find extension definition "run"

    Stack Overflow | 6 years ago | Alberto
    org.eclipse.core.runtime.CoreException: Executable extension definition for "run" not found.
  6. 0

    java.lang.NoSuchFieldError: TRACE at org.slf4j.impl.Log4jLoggerAdapter.log(Log4jLoggerAdapter.java:492)

    Google Groups | 9 years ago | Jonathan Alvarsson
    org.eclipse.core.runtime.CoreException: Plug-in net.bioclipse.ui was unable to load class net.bioclipse.ui.Application.

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.core.runtime.CoreException

      Plug-in MMWorkbench was unable to load class mm.hmi.workbench.MMWorkbenchApplication.

      at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException()
    2. Equinox
      ConfigurationElementHandle.createExecutableExtension
      1. org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
      2. org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
      3. org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
      4. org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
      5. org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
      5 frames
    3. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165)
      1 frame
    4. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1173)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1148)
      4 frames