java.lang.NoClassDefFoundError: javax/annotation/meta/When

findbugs | tpalmeri | 8 years ago
  1. 0

    ant task fails after installing findbugs version 1.3.4

    findbugs | 8 years ago | tpalmeri
    java.lang.NoClassDefFoundError: javax/annotation/meta/When
  2. 0

    [OSGI-502] Error java.lang.NoClassDefFoundError: javax/annotation/PostConstruct (regression) - Spring JIRA

    spring.io | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.CommonAnnotationBeanPostProcessor#0' defined in URL [bundleentry://32/META-INF/spring/swing-forms.xml] : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.annotation.CommonAnnotationBeanPostProcessor] : Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    db:: 4.15::exception: javax.resource.ResourceException p7

    hivmr.com | 8 months ago
    java.lang.NoClassDefFoundError: javax/annotation/Resource

    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

      javax/annotation/meta/When

      at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.constructTypeQualifierAnnotation()
    2. edu.umd.cs
      BuildUnconditionalParamDerefDatabase.visitClassContext
      1. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.constructTypeQualifierAnnotation(TypeQualifierApplications.java:192)
      2. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.constructTypeQualifierAnnotation(TypeQualifierApplications.java:208)
      3. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getDirectApplications(TypeQualifierApplications.java:154)
      4. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getDirectTypeQualifierAnnotation(TypeQualifierApplications.java:639)
      5. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getEffectiveTypeQualifierAnnotation(TypeQualifierApplications.java:601)
      6. edu.umd.cs.findbugs.ba.jsr305.ParameterAnnotationAccumulator.lookupAnnotation(ParameterAnnotationAccumulator.java:59)
      7. edu.umd.cs.findbugs.ba.jsr305.AbstractMethodAnnotationAccumulator.visitOverriddenMethod(AbstractMethodAnnotationAccumulator.java:61)
      8. edu.umd.cs.findbugs.ba.ch.OverriddenMethodsVisitor.visitClass(OverriddenMethodsVisitor.java:65)
      9. edu.umd.cs.findbugs.ba.ch.Subtypes2.traverseSupertypes(Subtypes2.java:767)
      10. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getInheritedTypeQualifierAnnotation(TypeQualifierApplications.java:660)
      11. edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getEffectiveTypeQualifierAnnotation(TypeQualifierApplications.java:605)
      12. edu.umd.cs.findbugs.ba.npe.TypeQualifierNullnessAnnotationDatabase.parameterMustBeNonNull(TypeQualifierNullnessAnnotationDatabase.java:116)
      13. edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.checkNonNullParams(UnconditionalValueDerefAnalysis.java:422)
      14. edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.transferInstruction(UnconditionalValueDerefAnalysis.java:207)
      15. edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.transferInstruction(UnconditionalValueDerefAnalysis.java:77)
      16. edu.umd.cs.findbugs.ba.AbstractDataflowAnalysis.transfer(AbstractDataflowAnalysis.java:117)
      17. edu.umd.cs.findbugs.ba.Dataflow.execute(Dataflow.java:356)
      18. edu.umd.cs.findbugs.classfile.engine.bcel.UnconditionalValueDerefDataflowFactory.analyze(UnconditionalValueDerefDataflowFactory.java:83)
      19. edu.umd.cs.findbugs.classfile.engine.bcel.UnconditionalValueDerefDataflowFactory.analyze(UnconditionalValueDerefDataflowFactory.java:41)
      20. edu.umd.cs.findbugs.classfile.impl.AnalysisCache.analyzeMethod(AnalysisCache.java:300)
      21. edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getMethodAnalysis(AnalysisCache.java:253)
      22. edu.umd.cs.findbugs.ba.ClassContext.getMethodAnalysis(ClassContext.java:896)
      23. edu.umd.cs.findbugs.ba.ClassContext.getUnconditionalValueDerefDataflow(ClassContext.java:747)
      24. edu.umd.cs.findbugs.detect.BuildUnconditionalParamDerefDatabase.analyzeMethod(BuildUnconditionalParamDerefDatabase.java:86)
      25. edu.umd.cs.findbugs.detect.BuildUnconditionalParamDerefDatabase.considerMethod(BuildUnconditionalParamDerefDatabase.java:74)
      26. edu.umd.cs.findbugs.detect.BuildUnconditionalParamDerefDatabase.visitClassContext(BuildUnconditionalParamDerefDatabase.java:60)
      26 frames
    3. jOpenDocument
      FindBugs.runMain
      1. edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:68)
      2. edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:850)
      3. edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:213)
      4. edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:1524)
      4 frames