java.lang.NoClassDefFoundError

Coderanch | jayanandan thiagarajan | 10 years ago
  1. 0

    swt-designer (design view does not work)

    Coderanch | 10 years ago | jayanandan thiagarajan
    java.lang.NoClassDefFoundError
  2. 0

    plugin installation help

    eclipsesql | 10 years ago | mark4071
    java.lang.NoClassDefFoundError
  3. 0

    Exception thrown when open profile configuration for Tomcat 5.5

    Eclipse Bugzilla | 1 decade ago | janefang
    java.lang.NoClassDefFoundError: org.apache.muse.ws.addressing.soap.SoapFault
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After installing 2.0.2, Class name code completion is broken in Bean file editor. This worked well under 2.0. Looking at Eclipse error log, I find error messages related to "OSGI bridge not activated". The named classes are all present on my machine in a file <eclipse>\plugins\org.springframework.ide.eclipse.beans.osgibridge_2.0.1.v200708152145.jar Stack trace from Eclipse error log: {code} !SESSION 2007-09-23 13:30:56.784 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.6.0_02 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 This is a continuation of log file C:\Develop\.metadata\.bak_0.log Created Time: 2007-09-23 13:32:01.627 !ENTRY org.eclipse.osgi 4 0 2007-09-23 13:32:01.627 !MESSAGE An error occurred while automatically activating bundle org.springframework.ide.eclipse.beans.osgibridge (397). !STACK 0 org.osgi.framework.BundleException: The activator org.springframework.ide.eclipse.beans.osgibridge.Activator for bundle org.springframework.ide.eclipse.beans.osgibridge is invalid at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:342) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:88) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getEntityResolvers(NamespaceUtils.java:182) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$XmlCatalogDelegatingEntityResolver.<init>(BeansConfig.java:1082) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:705) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getComponents(BeansConfig.java:430) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeanClassesMap(BeansConfig.java:628) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.isBeanClass(BeansConfig.java:491) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfigs(BeansModel.java:224) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.getBeanConfigResources(BeansConfigValidator.java:180) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.getAffectedResources(BeansConfigValidator.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$ResourceTreeVisitor.visit(SpringProjectContributionManager.java:159) at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:105) at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:57) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:67) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:103) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:87) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.getAffectedResources(SpringProjectContributionManager.java:127) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:74) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:217) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.ide.eclipse.beans.osgibridge.Activator at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136) ... 55 more Root exception: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.ide.eclipse.beans.osgibridge.Activator at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:342) at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:88) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getEntityResolvers(NamespaceUtils.java:182) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$XmlCatalogDelegatingEntityResolver.<init>(BeansConfig.java:1082) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:705) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getComponents(BeansConfig.java:430) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.getBeanClassesMap(BeansConfig.java:628) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.isBeanClass(BeansConfig.java:491) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfigs(BeansModel.java:224) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.getBeanConfigResources(BeansConfigValidator.java:180) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.getAffectedResources(BeansConfigValidator.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$ResourceTreeVisitor.visit(SpringProjectContributionManager.java:159) at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:105) at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:57) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:67) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:103) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:87) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.getAffectedResources(SpringProjectContributionManager.java:127) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:74) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:217) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) {code}

    Spring JIRA | 9 years ago | Imported
    java.lang.NoClassDefFoundError: Could not initialize class org.springframework.ide.eclipse.beans.osgibridge.Activator

    49 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. java.lang.NoClassDefFoundError

      No message provided

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      5. java.lang.Class.newInstance0(Class.java:350)
      6. java.lang.Class.newInstance(Class.java:303)
      6 frames
    3. Eclipse OSGi
      AbstractBundle.start
      1. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
      2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962)
      3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
      4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
      4 frames
    4. Eclipse OSGi
      EclipseLazyStarter.preFindLocalClass
      1. org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
      1 frame
    5. Eclipse OSGi
      DefaultClassLoader.loadClass
      1. org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
      2. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
      3. org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
      4. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
      5. org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
      6. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
      6 frames
    6. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      1 frame
    7. Eclipse OSGi
      AbstractBundle.loadClass
      1. org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
      2. org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
      3. org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
      3 frames
    8. Equinox
      ConfigurationElementHandle.createExecutableExtension
      1. org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
      2. org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
      3. org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
      4. org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfiguratiswtdesigneronElementHandle.java:51)
      4 frames
    9. Eclipse UI
      WorkbenchPlugin$1.run
      1. org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
      1 frame
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      1 frame
    11. Eclipse UI
      WWinPluginAction.runWithEvent
      1. org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
      2. org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120)
      3. org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:225)
      4. org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
      4 frames
    12. JFace
      ActionContributionItem$6.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
      2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      3. org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
      3 frames
    13. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
      4 frames
    14. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
      3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
      3 frames
    15. Eclipse UI
      IDEApplication.run
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
      2 frames
    16. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      1 frame
    17. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    19. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      3. org.eclipse.core.launcher.Main.run(Main.java:977)
      4. org.eclipse.core.launcher.Main.main(Main.java:952)
      4 frames