Skip to content

Instantly share code, notes, and snippets.

View samjjx's full-sized avatar
👨‍💻

JIANG Jiaxin samjjx

👨‍💻
View GitHub Profile
@tjayr
tjayr / compiler_mirror_error
Last active January 14, 2016 15:28
How to resolve Scala IDE / Maven errors: There was an error initializing the Scala compiler: could not find a required class: object scala.runtime in compiler mirror scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.
I came across this problem while trying to add the Datastax Cassandra driver
as a Maven dependency to a Scala project.
After adding the dependency to the pom, Scala IDE (3.0.1) complains with this
error yes/no confirmation box.
Add Scala library to project classpath? There was an error initializing the
Scala compiler: could not find a required class: object scala.runtime in
compiler mirror. No/Yes