Announcement Announcement Module
Collapse
No announcement yet.
java.lang.NoClassDefFoundError on InternalInterceptMethodsBeanDefinitionDecorator Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.NoClassDefFoundError on InternalInterceptMethodsBeanDefinitionDecorator

    I just upgraded to the latest STS suite version 2.3.2.201003230009.

    Now every time I open a spring configuration file, I get this error:


    java.lang.NoClassDefFoundError: org/springframework/security/config/InternalInterceptMethodsBeanDefinitionDecorator
    at org.springframework.security.config.InterceptMetho dsBeanDefinitionDecorator.<init>(InterceptMethodsB eanDefinitionDecorator.java:29)
    at org.springframework.security.v2.config.SecurityNam espaceHandler.init(SecurityNamespaceHandler.java:6 3)
    at org.springframework.ide.eclipse.beans.core.namespa ces.NamespaceUtils.getNamespaceHandlers(NamespaceU tils.java:119)
    at org.springframework.ide.eclipse.beans.core.interna l.model.namespaces.DelegatingNamespaceHandlerResol ver.<init>(DelegatingNamespaceHandlerResolver.java :64)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig.readConfig(BeansConfig.java:40 1)
    at org.springframework.ide.eclipse.beans.core.interna l.model.AbstractBeansConfig.getBeans(AbstractBeans Config.java:268)
    at org.springframework.ide.eclipse.beans.core.interna l.model.validation.BeansConfigReloadingProjectCont ributionEventListener.start(BeansConfigReloadingPr ojectContributionEventListener.java:118)
    at org.springframework.ide.eclipse.core.internal.proj ect.SpringProjectContributionManager$1.execute(Spr ingProjectContributionManager.java:88)
    at org.springframework.ide.eclipse.core.internal.proj ect.SpringProjectContributionManager$9.run(SpringP rojectContributionManager.java:260)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.springframework.ide.eclipse.core.internal.proj ect.SpringProjectContributionManager.execute(Sprin gProjectContributionManager.java:263)
    at org.springframework.ide.eclipse.core.internal.proj ect.SpringProjectContributionManager.build(SpringP rojectContributionManager.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildManager.java:627)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.ru n(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:42)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basi cBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.buil d(BuildManager.java:341)
    at org.eclipse.core.internal.events.AutoBuildJob.doBu ild(AutoBuildJob.java:140)
    at org.eclipse.core.internal.events.AutoBuildJob.run( AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:55)

  • #2
    Hi,

    how did you "upgrade"? Did you download complete STS or updated what you had installed? If so what version was that?

    Regards, Christian

    Comment


    • #3
      I upgraded by from 2.3.1.201003090936, by selecting Help - Check for Updates.

      Comment


      • #4
        Hi,

        you're hitting the following issue:

        IDE-1099: NoClassDefFoundError: InternalInterceptMethodsBeanDefinitionDecorator
        http://jira.springframework.org/browse/IDE-1099

        I posted a work-around for this issue in to the JIRA.

        Let me know if this fixes your issue.

        Christian

        Comment


        • #5
          That worked. My plugins folder had 3 of the files listed in the jira: asm, beans and core.

          Thank you!

          Comment

          Working...
          X