java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • after upgrading to 2.0.2 the open bean dialog is no longer showing any beans at all. This is the exception that gets logged in eclipse: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.CollectionFactory at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:86) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146) at org.springframework.ide.eclipse.beans.core.DefaultBeanDefinitionRegistry.<init>(DefaultBeanDefinitionRegistry.java:72) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.createRegistry(BeansValidationContext.java:84) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.<init>(BeansValidationContext.java:60) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.createContext(BeansConfigValidator.java:126) at org.springframework.ide.eclipse.core.model.validation.AbstractValidator.validate(AbstractValidator.java:165) at org.springframework.ide.eclipse.core.model.validation.AbstractValidator.validate(AbstractValidator.java:199) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$2.run(SpringProjectContributionManager.java:110) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.runValidator(SpringProjectContributionManager.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:77) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    via by Imported,
  • after upgrading to 2.0.2 the open bean dialog is no longer showing any beans at all. This is the exception that gets logged in eclipse: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.CollectionFactory at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:86) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146) at org.springframework.ide.eclipse.beans.core.DefaultBeanDefinitionRegistry.<init>(DefaultBeanDefinitionRegistry.java:72) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.createRegistry(BeansValidationContext.java:84) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.<init>(BeansValidationContext.java:60) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.createContext(BeansConfigValidator.java:126) at org.springframework.ide.eclipse.core.model.validation.AbstractValidator.validate(AbstractValidator.java:165) at org.springframework.ide.eclipse.core.model.validation.AbstractValidator.validate(AbstractValidator.java:199) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$2.run(SpringProjectContributionManager.java:110) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.runValidator(SpringProjectContributionManager.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:77) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    via by Imported,
  • JHeadstart error
    via by Cheney Shue,
    • java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.CollectionFactory at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.<init>(DefaultSingletonBeanRegistry.java:86) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.<init>(FactoryBeanRegistrySupport.java:40) at org.springframework.beans.factory.support.AbstractBeanFactory.<init>(AbstractBeanFactory.java:146) at org.springframework.ide.eclipse.beans.core.DefaultBeanDefinitionRegistry.<init>(DefaultBeanDefinitionRegistry.java:72) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.createRegistry(BeansValidationContext.java:84) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansValidationContext.<init>(BeansValidationContext.java:60) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigValidator.createContext(BeansConfigValidator.java:126) at org.springframework.ide.eclipse.core.model.validation.AbstractValidator.validate(AbstractValidator.java:165) at org.springframework.ide.eclipse.core.model.validation.AbstractValidator.validate(AbstractValidator.java:199) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$2.run(SpringProjectContributionManager.java:110) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.runValidator(SpringProjectContributionManager.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:77) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    No Bugmate found.