Reputation: 2893
I worked on a certain project using Scala, Maven and IntelliJ. Everything worked fine, until I had to format my computer and re-install everything. Now when I try to run the same project I worked on, I get these errors:
java.lang.AssertionError: assertion failed: List(package scala, package scala)
scala.reflect.runtime.ReflectError: value scala is not a package
Do any of you know what it means?
Upvotes: 0
Views: 689
Reputation: 11
Are you doing multithreading runtime reflection and which version of Scala do you use ?
It seems related to thread safety of Scala.
Unfortunately, in Scala 2.10 reflection is not thread safe. Read more:
http://docs.scala-lang.org/overviews/reflection/thread-safety.html
Upvotes: 1