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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NoClassDefFoundError: javax/annotation/meta/When
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.constructTypeQualifierAnnotation(TypeQualifierApplications.java:192)
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.constructTypeQualifierAnnotation(TypeQualifierApplications.java:208)
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getDirectApplications(TypeQualifierApplications.java:154)
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getDirectTypeQualifierAnnotation(TypeQualifierApplications.java:639)
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getEffectiveTypeQualifierAnnotation(TypeQualifierApplications.java:601)
at edu.umd.cs.findbugs.ba.jsr305.ParameterAnnotationAccumulator.lookupAnnotation(ParameterAnnotationAccumulator.java:59)
at edu.umd.cs.findbugs.ba.jsr305.AbstractMethodAnnotationAccumulator.visitOverriddenMethod(AbstractMethodAnnotationAccumulator.java:61)
at edu.umd.cs.findbugs.ba.ch.OverriddenMethodsVisitor.visitClass(OverriddenMethodsVisitor.java:65)
at edu.umd.cs.findbugs.ba.ch.Subtypes2.traverseSupertypes(Subtypes2.java:767)
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getInheritedTypeQualifierAnnotation(TypeQualifierApplications.java:660)
at edu.umd.cs.findbugs.ba.jsr305.TypeQualifierApplications.getEffectiveTypeQualifierAnnotation(TypeQualifierApplications.java:605)
at edu.umd.cs.findbugs.ba.npe.TypeQualifierNullnessAnnotationDatabase.parameterMustBeNonNull(TypeQualifierNullnessAnnotationDatabase.java:116)
at edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.checkNonNullParams(UnconditionalValueDerefAnalysis.java:422)
at edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.transferInstruction(UnconditionalValueDerefAnalysis.java:207)
at edu.umd.cs.findbugs.ba.deref.UnconditionalValueDerefAnalysis.transferInstruction(UnconditionalValueDerefAnalysis.java:77)
at edu.umd.cs.findbugs.ba.AbstractDataflowAnalysis.transfer(AbstractDataflowAnalysis.java:117)
at edu.umd.cs.findbugs.ba.Dataflow.execute(Dataflow.java:356)
at edu.umd.cs.findbugs.classfile.engine.bcel.UnconditionalValueDerefDataflowFactory.analyze(UnconditionalValueDerefDataflowFactory.java:83)
at edu.umd.cs.findbugs.classfile.engine.bcel.UnconditionalValueDerefDataflowFactory.analyze(UnconditionalValueDerefDataflowFactory.java:41)
at edu.umd.cs.findbugs.classfile.impl.AnalysisCache.analyzeMethod(AnalysisCache.java:300)
at edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getMethodAnalysis(AnalysisCache.java:253)
at edu.umd.cs.findbugs.ba.ClassContext.getMethodAnalysis(ClassContext.java:896)
at edu.umd.cs.findbugs.ba.ClassContext.getUnconditionalValueDerefDataflow(ClassContext.java:747)
at edu.umd.cs.findbugs.detect.BuildUnconditionalParamDerefDatabase.analyzeMethod(BuildUnconditionalParamDerefDatabase.java:86)
at edu.umd.cs.findbugs.detect.BuildUnconditionalParamDerefDatabase.considerMethod(BuildUnconditionalParamDerefDatabase.java:74)
at edu.umd.cs.findbugs.detect.BuildUnconditionalParamDerefDatabase.visitClassContext(BuildUnconditionalParamDerefDatabase.java:60)
at edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:68)
at edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:850)
at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:213)
at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:1524)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.