java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator

Spring JIRA | Christian Dupuis | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {code} java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator at org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>(InterceptMethodsBeanDefinitionDecorator.java:29) at org.springframework.security.v2.config.SecurityNamespaceHandler.init(SecurityNamespaceHandler.java:63) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:119) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:268) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigReloadingProjectContributionEventListener.start(BeansConfigReloadingProjectContributionEventListener.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$1.execute(SpringProjectContributionManager.java:88) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$9.run(SpringProjectContributionManager.java:260) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.execute(SpringProjectContributionManager.java:263) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:85) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code}

    Spring JIRA | 7 years ago | Christian Dupuis
    java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator
  2. 0

    {code} java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator at org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>(InterceptMethodsBeanDefinitionDecorator.java:29) at org.springframework.security.v2.config.SecurityNamespaceHandler.init(SecurityNamespaceHandler.java:63) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:119) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:268) at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigReloadingProjectContributionEventListener.start(BeansConfigReloadingProjectContributionEventListener.java:118) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$1.execute(SpringProjectContributionManager.java:88) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$9.run(SpringProjectContributionManager.java:260) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.execute(SpringProjectContributionManager.java:263) at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:85) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code}

    Spring JIRA | 7 years ago | Christian Dupuis
    java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator
  3. 0

    I get several errors in my spring config file. Spring Security isn't on the classpath and also not being used in any spring xml configuration file. Message: An internal error occurred during: "Processing Dirty Regions". Stacktrace: java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator at org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>(InterceptMethodsBeanDefinitionDecorator.java:29) at org.springframework.security.v2.config.SecurityNamespaceHandler.init(SecurityNamespaceHandler.java:63) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:119) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:399) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getAliases(AbstractBeansConfig.java:208) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.accept(AbstractBeansConfig.java:118) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:147) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.accept(BeansModel.java:94) at com.springsource.sts.quickfix.BeansEditorValidator.getContextElements(BeansEditorValidator.java:422) at com.springsource.sts.quickfix.BeansEditorValidator.validateNode(BeansEditorValidator.java:467) at com.springsource.sts.quickfix.BeansEditorValidator.validate(BeansEditorValidator.java:325) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:349) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:255) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:257) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:199) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:221) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:641) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Spring JIRA | 7 years ago | Gerrit Brehmer
    java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    What steps will reproduce the problem? 1. Switch to spring bean xml file 2. 3. -- Error Details -- Date: Tue Jun 15 11:27:00 PDT 2010 Message: An internal error occurred during: "Loading referenced grammars". Severity: Error Product: Eclipse 1.2.2.20100122-1337 (org.eclipse.epp.package.java.product) Plugin: org.eclipse.core.jobs Session Data: eclipse.buildId=M20100211-1343 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -data e:\java\workspace Exception Stack Trace: java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator at org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>(InterceptMethodsBeanDefinitionDecorator.java:29) at org.springframework.security.v2.config.SecurityNamespaceHandler.init(SecurityNamespaceHandler.java:63) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:121) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(AbstractBeansConfig.java:454) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:449) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:434) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:412) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:215) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:31) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.ProjectClasspathExtensibleUriResolver.resolve(ProjectClasspathExtensibleUriResolver.java:59) at org.eclipse.wst.common.uriresolver.internal.ExtensibleURIResolver.resolve(ExtensibleURIResolver.java:85) at org.eclipse.wst.xml.core.internal.modelquery.XMLCatalogIdResolver.resolve(XMLCatalogIdResolver.java:92) at org.eclipse.wst.xml.core.internal.modelquery.XMLModelQueryAssociationProvider.resolveGrammarURI(XMLModelQueryAssociationProvider.java:58) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.XMLAssociationProvider.resolveGrammarURI(XMLAssociationProvider.java:160) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentManagerImpl.lookupOrCreateResolvedURI(CMDocumentManagerImpl.java:115) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentManagerImpl.addCMDocumentReference(CMDocumentManagerImpl.java:197) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentLoader.handleGrammar(CMDocumentLoader.java:105) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentLoader$CMDocumentLoadingNamespaceTable.addElement(CMDocumentLoader.java:180) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentLoader.loadCMDocuments(CMDocumentLoader.java:74) at org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.InferredGrammarBuildingCMDocumentLoader.loadCMDocuments(InferredGrammarBuildingCMDocumentLoader.java:56) at org.eclipse.wst.xml.ui.internal.DOMObserver.invokeCMDocumentLoad(DOMObserver.java:203) at org.eclipse.wst.xml.ui.internal.DOMObserver$TimerJob.run(DOMObserver.java:142) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Spring JIRA | 7 years ago | George Lindholm
    java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator
  6. 0

    {noformat} java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator at org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>(InterceptMethodsBeanDefinitionDecorator.java:29) at org.springframework.security.v2.config.SecurityNamespaceHandler.init(SecurityNamespaceHandler.java:63) at org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:121) at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401) at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getImports(AbstractBeansConfig.java:454) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.checkForImportedBeansConfig(BeansProject.java:449) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:434) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfig(BeansProject.java:412) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getConfig(BeansModel.java:208) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:43) at org.springframework.ide.eclipse.beans.core.BeansCoreUtils.isBeansConfig(BeansCoreUtils.java:31) at com.springsource.sts.quickfix.BeansEditorValidator.validate(BeansEditorValidator.java:438) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:349) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:255) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:257) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:199) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:221) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:641) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {noformat}

    SpringSource Issue Tracker | 7 years ago | David Syer
    java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator

    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

      org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator

      at org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>()
    2. spring-security-config
      InterceptMethodsBeanDefinitionDecorator.<init>
      1. org.springframework.security.config.InterceptMethodsBeanDefinitionDecorator.<init>(InterceptMethodsBeanDefinitionDecorator.java:29)
      1 frame
    3. org.springframework.security
      SecurityNamespaceHandler.init
      1. org.springframework.security.v2.config.SecurityNamespaceHandler.init(SecurityNamespaceHandler.java:63)
      1 frame
    4. org.springframework.ide
      SpringProjectContributionManager$9.run
      1. org.springframework.ide.eclipse.beans.core.namespaces.NamespaceUtils.getNamespaceHandlers(NamespaceUtils.java:119)
      2. org.springframework.ide.eclipse.beans.core.internal.model.namespaces.DelegatingNamespaceHandlerResolver.<init>(DelegatingNamespaceHandlerResolver.java:64)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:401)
      4. org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:268)
      5. org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigReloadingProjectContributionEventListener.start(BeansConfigReloadingProjectContributionEventListener.java:118)
      6. org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$1.execute(SpringProjectContributionManager.java:88)
      7. org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$9.run(SpringProjectContributionManager.java:260)
      7 frames
    5. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    6. org.springframework.ide
      SpringProjectContributionManager.build
      1. org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.execute(SpringProjectContributionManager.java:263)
      2. org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:85)
      2 frames
    7. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
      1 frame
    8. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    9. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
      3 frames
    10. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    11. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
      4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
      5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
      5 frames
    12. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame