Skip to content
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

Examples throw ClassNotFoundException without fork in run #981

Closed
nevillelyh opened this issue Dec 19, 2017 · 1 comment
Closed

Examples throw ClassNotFoundException without fork in run #981

nevillelyh opened this issue Dec 19, 2017 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@nevillelyh
Copy link
Contributor

sbt/sbt#3736

Adding fork in run := true fixes it but introduces other annoyance, e.g. stdout treated as error and relative path README.md in word count quick start not working.

[error] Caused by: java.lang.ClassNotFoundException: scala.Function0
[error]         at sbt.internal.inc.classpath.ClasspathFilter.loadClass(ClassLoaders.scala:74)
[error]         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[error]         at java.lang.Class.forName0(Native Method)
[error]         at java.lang.Class.forName(Class.java:348)
[error]         at com.twitter.chill.KryoBase$$anonfun$1.apply(KryoBase.scala:41)
[error]         at com.twitter.chill.KryoBase$$anonfun$1.apply(KryoBase.scala:41)
@nevillelyh nevillelyh added the bug Something isn't working label Dec 19, 2017
@ravwojdyla
Copy link
Contributor

Should be fixed by sbt/zinc#473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants