scala.reflect.internal.MissingRequirementError: object scala.annotation.Annotation in compiler mirror 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 Google Groups by Unknown author, 1 year ago
object scala.annotation.Annotation in compiler mirror not found.
via Google Groups by Joe Betz, 2 years ago
object scala.annotation.Annotation in compiler mirror not found.
via Stack Overflow by Elsayed
, 4 months ago
via Stack Overflow by M.Ahsen Taqi
, 5 months ago
object scala.runtime in compiler mirror not found.
via Stack Overflow by chuckmaven
, 2 years ago
object java.lang.Object in compiler mirror not found.
scala.reflect.internal.MissingRequirementError: object scala.annotation.Annotation in compiler mirror not found.
at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:16)
at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:17)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:48)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:40)
at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:61)
at scala.reflect.internal.Mirrors$RootsBase.getClassByName(Mirrors.scala:99)
at scala.reflect.internal.Mirrors$RootsBase.getRequiredClass(Mirrors.scala:102)
at scala.reflect.internal.Mirrors$RootsBase.requiredClass(Mirrors.scala:105)
at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationClass$lzycompute(Definitions.scala:952)
at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationClass(Definitions.scala:952)
at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr$lzycompute(Definitions.scala:1024)
at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefaultAttr(Definitions.scala:1023)
at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses$lzycompute(Definitions.scala:1153)
at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClasses(Definitions.scala:1152)
at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode$lzycompute(Definitions.scala:1196)
at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresentInBytecode(Definitions.scala:1196)
at scala.tools.nsc.Global$Run.(Global.scala:1290)
at com.googlecode.scalascriptengine.CompilerManager.acc(CompilerManager.scala:33)
at com.googlecode.scalascriptengine.CompilerManager.(CompilerManager.scala:38)
at com.googlecode.scalascriptengine.ScalaScriptEngine.compileManager(ScalaScriptEngine.scala:43)
at com.googlecode.scalascriptengine.ScalaScriptEngine.refresh(ScalaScriptEngine.scala:94)
at com.googlecode.scalascriptengine.RefreshSynchronously$class.doRefresh(RefreshPolicies.scala:91)
at com.googlecode.scalascriptengine.ScalaScriptEngine$$anon$1.doRefresh(ScalaScriptEngine.scala:328)
at com.googlecode.scalascriptengine.OnChangeRefresh$class.get(RefreshPolicies.scala:66)
at com.googlecode.scalascriptengine.ScalaScriptEngine$$anon$1.get(ScalaScriptEngine.scala:328)
at com.googlecode.scalascriptengine.EvalCodeImpl.(EvalCode.scala:66)
at com.googlecode.scalascriptengine.EvalCode$.apply(EvalCode.scala:98)
at com.googlecode.scalascriptengine.EvalCode$.with1Arg(EvalCode.scala:109)
at undefined.HelloWorld$.main(HelloWorld.scala:6)
at undefined.HelloWorld.main(HelloWorld.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)

Users with the same issue

Once, 11 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

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