New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on 'sbt run', Thread.currentThread.getContextClassLoader cannot load scala.Int #3736
Comments
i have same problem with sbt 0.13.6 scala 2.11.8 and akka-remote 2.5.4 I try to make a short example |
I had this problem while starting a new project until I realized that I had forgotten to fork the JVM for the run task: Although this seems to be a SBT regression, the workaround is pretty simple. BTW I'm using SBT 1.0.4, Scala 2.12.4, Akka 2.5.7. |
Just for the reference, PTAL: sbt/zinc#473 |
Fix sbt/sbt#3736. Recurse into classloader of the class not the root
Zinc fix is now merged. Please try sbt 1.1.0-RC3. |
(this issue may have returned in 1.1.5, at least something that looks a lot like it, but I'll first dig a bit further in akka/akka#24098 before really blaming sbt 😄 ) |
steps
Check out https://github.com/raboof/sbt-run-classloading and
sbt run
problem
An error is thrown trying to load the
scala.Int
classnotes
This might be related to #3515, however there it is mentioned that it only fails for
URLClassLoader
s, while I get aClasspathFilter
:The text was updated successfully, but these errors were encountered: