com.sun.tools.javac.code.Symbol$CompletionFailure: file java/lang/annotation/Target.class not found

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

via Oracle Community by 712247, 1 year ago
file java/lang/annotation/Target.class not found
com.sun.tools.javac.code.Symbol$CompletionFailure: file java/lang/annotation/Target.class not found
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java)
at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:612)
at com.sun.tools.javac.code.Symbol$ClassSymbol.members(Symbol.java)
at com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.findAccessMethod(ClassReader.java:1103)
at com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.deproxyCompound(ClassReader.java:1095)
at com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.deproxyCompoundList(ClassReader.java:1084)
at com.sun.tools.javac.jvm.ClassReader$AnnotationCompleter.enterAnnotation(ClassReader.java:1233)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:86)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:520)
at com.sun.tools.javac.comp.Enter.main(Enter.java:476)
at oracle.aurora.jdkcompiler.JdkDriver.compile(JdkDriver.java:570)
at oracle.aurora.rdbms.Compiler.doCompile(Compiler.java:651)
at oracle.aurora.rdbms.Compiler.access$000(Compiler.java:57)
at oracle.aurora.rdbms.Compiler$1.run(Compiler.java:324)
at oracle.aurora.rdbms.Compiler.compile(Compiler.java:322)

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.