com.sun.tools.javac.code.Symbol$CompletionFailure

class file for com.google.errorprone.annotations.CanIgnoreReturnValue not found

Solutions on the web11

  • via GitHub by cushon
    , 10 months ago
    class file for com.google.errorprone.annotations.CanIgnoreReturnValue not found
  • via sling-dev by Apache Jenkins Server, 9 months ago
    class file for org.apache.felix.scr.annotations.ReferenceCardinality not found
  • via GitHub by cushon
    , 8 months ago
    class file for org.springframework.web.accept.ContentNegotiationStrategy not found
  • Stack trace

    • com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.google.errorprone.annotations.CanIgnoreReturnValue not found at com.sun.tools.javac.code.ClassFinder.newCompletionFailure(ClassFinder.java:374) at com.sun.tools.javac.code.ClassFinder.classFileNotFound(ClassFinder.java:362) at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:355) at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:279) at com.sun.tools.javac.code.ClassFinder.access$000(ClassFinder.java:72) at com.sun.tools.javac.code.ClassFinder$1.complete(ClassFinder.java:159) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:579) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1074) at com.sun.tools.javac.code.Symbol$ClassSymbol.members(Symbol.java:1013) at com.sun.tools.javac.model.AnnotationProxyMaker.getAllValues(AnnotationProxyMaker.java:124) at com.sun.tools.javac.model.AnnotationProxyMaker.getAllReflectedValues(AnnotationProxyMaker.java:102) at com.sun.tools.javac.model.AnnotationProxyMaker.generateAnnotation(AnnotationProxyMaker.java:90) at com.sun.tools.javac.model.AnnotationProxyMaker.generateAnnotation(AnnotationProxyMaker.java:81) at com.sun.tools.javac.code.AnnoConstruct.getAnnotation(AnnoConstruct.java:184) at com.google.errorprone.util.ASTHelpers.getAnnotation(ASTHelpers.java:519) at com.google.errorprone.util.ASTHelpers.hasAnnotation(ASTHelpers.java:488) at com.google.errorprone.bugpatterns.CheckReturnValue.shouldCheckReturnValue(CheckReturnValue.java:69) at com.google.errorprone.bugpatterns.CheckReturnValue.access$100(CheckReturnValue.java:65) at com.google.errorprone.bugpatterns.CheckReturnValue$1.matches(CheckReturnValue.java:122) at com.google.errorprone.bugpatterns.CheckReturnValue$1.matches(CheckReturnValue.java:95)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.