scala.ScalaReflectionException: class scala.reflect.macros.Aliases 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

Samebug tips

,
via GitHub by kailuowang

Its likely that you don't have this line in you build.sbt:

swaggerDomainNameSpaces := Seq("models")

Solutions on the web

via Google Groups by Haoyi Li, 1 year ago
class scala.reflect.macros.Aliases in compiler mirror not found.
via GitHub by lihaoyi
, 2 years ago
class scala.reflect.macros.Aliases in compiler mirror not found.
via GitHub by kailuowang
, 1 year ago
via GitHub by jrudolph
, 1 year ago
object scala.reflect.macros.blackbox.Context in compiler mirror not found.
via GitHub by SethTisue
, 1 year ago
via GitHub by knordstrom
, 1 year ago
class io.timeli.sdk.MeasurementsSDK.PlotPoint] in JavaMirror with sun.misc.Launcher$AppClassLoader@573fd745 of type class sun.misc.Launcher$AppClassLoader with classpath [...] not found.
scala.ScalaReflectionException: class scala.reflect.macros.Aliases in compiler mirror not found.
at scala.reflect.internal.Mirrors$RootsBase.staticClass(Mirrors.scala:123)
at pprint.Internals$LowerPriPPrint$$anon$1$$typecreator1$1.apply(PPrint.scala:394)
at scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe$lzycompute(TypeTags.scala:232)
at scala.reflect.api.TypeTags$WeakTypeTagImpl.tpe(TypeTags.scala:232)
at scala.reflect.api.TypeTags$class.weakTypeOf(TypeTags.scala:335)
at scala.reflect.api.Universe.weakTypeOf(Universe.scala:61)
at derive.Derive.typeclassFor(Derive.scala:39)
at derive.Derive.derive$Derive$$implicited$1(Derive.scala:119)
at derive.Derive.deriveType(Derive.scala:121)
at derive.Derive.derive(Derive.scala:58)
at pprint.Internals$LowerPriPPrint$.liftedTree1$1(PPrint.scala:398)
at pprint.Internals$LowerPriPPrint$.FinalRepr(PPrint.scala:398)

Users with the same issue

Once, 1 month ago

Write tip

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