java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V

Spring JIRA | Kay Huber | 9 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

    Found the following stracktrace in my Eclipse 3.4 RC3 logs: {code} !ENTRY org.springframework.ide.eclipse.aop.core 4 0 2008-06-06 08:51:10.467 !MESSAGE Internal Error !STACK 0 java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.validateAspect(AnnotationAspectDefinitionBuilder.java:208) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.access$0(AnnotationAspectDefinitionBuilder.java:201) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder$1.doWithActiveProjectClassLoader(AnnotationAspectDefinitionBuilder.java:146) at org.springframework.ide.eclipse.core.java.JdtUtils$DefaultProjectClassLoaderSupport.executeCallback(JdtUtils.java:94) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.parseAnnotationAspectFromSingleBean(AnnotationAspectDefinitionBuilder.java:143) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.parseAnnotationAspects(AnnotationAspectDefinitionBuilder.java:183) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.doBuildAspectDefinitions(AnnotationAspectDefinitionBuilder.java:68) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AbstractAspectDefinitionBuilder.buildAspectDefinitions(AbstractAspectDefinitionBuilder.java:57) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForFile(AopReferenceModelBuilderJob.java:368) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopModel(AopReferenceModelBuilderJob.java:136) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.run(AopReferenceModelBuilderJob.java:474) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} Don't know what action produces the stacktrace - as there is no obvious or visible failure when using Eclipse.

    Spring JIRA | 9 years ago | Kay Huber
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V
  2. 0

    Found the following stracktrace in my Eclipse 3.4 RC3 logs: {code} !ENTRY org.springframework.ide.eclipse.aop.core 4 0 2008-06-06 08:51:10.467 !MESSAGE Internal Error !STACK 0 java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.validateAspect(AnnotationAspectDefinitionBuilder.java:208) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.access$0(AnnotationAspectDefinitionBuilder.java:201) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder$1.doWithActiveProjectClassLoader(AnnotationAspectDefinitionBuilder.java:146) at org.springframework.ide.eclipse.core.java.JdtUtils$DefaultProjectClassLoaderSupport.executeCallback(JdtUtils.java:94) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.parseAnnotationAspectFromSingleBean(AnnotationAspectDefinitionBuilder.java:143) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.parseAnnotationAspects(AnnotationAspectDefinitionBuilder.java:183) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.doBuildAspectDefinitions(AnnotationAspectDefinitionBuilder.java:68) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AbstractAspectDefinitionBuilder.buildAspectDefinitions(AbstractAspectDefinitionBuilder.java:57) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForFile(AopReferenceModelBuilderJob.java:368) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopModel(AopReferenceModelBuilderJob.java:136) at org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.run(AopReferenceModelBuilderJob.java:474) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} Don't know what action produces the stacktrace - as there is no obvious or visible failure when using Eclipse.

    Spring JIRA | 9 years ago | Kay Huber
    java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V

      at org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.validateAspect()
    2. org.springframework.ide
      AopReferenceModelBuilderJob.run
      1. org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.validateAspect(AnnotationAspectDefinitionBuilder.java:208)
      2. org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.access$0(AnnotationAspectDefinitionBuilder.java:201)
      3. org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder$1.doWithActiveProjectClassLoader(AnnotationAspectDefinitionBuilder.java:146)
      4. org.springframework.ide.eclipse.core.java.JdtUtils$DefaultProjectClassLoaderSupport.executeCallback(JdtUtils.java:94)
      5. org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.parseAnnotationAspectFromSingleBean(AnnotationAspectDefinitionBuilder.java:143)
      6. org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.parseAnnotationAspects(AnnotationAspectDefinitionBuilder.java:183)
      7. org.springframework.ide.eclipse.aop.core.internal.model.builder.AnnotationAspectDefinitionBuilder.doBuildAspectDefinitions(AnnotationAspectDefinitionBuilder.java:68)
      8. org.springframework.ide.eclipse.aop.core.internal.model.builder.AbstractAspectDefinitionBuilder.buildAspectDefinitions(AbstractAspectDefinitionBuilder.java:57)
      9. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopReferencesForFile(AopReferenceModelBuilderJob.java:368)
      10. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.buildAopModel(AopReferenceModelBuilderJob.java:136)
      11. org.springframework.ide.eclipse.aop.core.internal.model.builder.AopReferenceModelBuilderJob.run(AopReferenceModelBuilderJob.java:474)
      11 frames
    3. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame