-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Exception when trying to use Ammonite REPL #15
Comments
Hmm try scala 2.11.4 or Java 8? Those are the things that come to mind |
Yes, It works on 2.11.4 Does it work on 2.10.4? I had a resolution problem. |
Doesn't work with 2.10.4 |
Maybe at some point I'll cross publish; for now 2.11.4 it is ^_^ |
I also experience this issue, scala version is 2.11.4 and java version is 1.8.0_25. |
@jarandaf @lihaoyi Binary incompatibilities in the scala-compiler JAR are quite common, I ran into one between 2.10.4/2.10.5 (macro related methods that changed), there are also some in 2.11 (2.11.2 vs 2.11.4 or 5 for sure, ran into it with the spark repl jar). Using the exact same version as ammonite should be recommended. |
@alexarchambault should we cross-publish Ammonite against different minor versions of Scala? How does one even do that? Presumably it's possible |
@lihaoyi shapeless is doing it with scala 2.10 (see https://github.com/milessabin/shapeless#shapeless-210), but it's cumbersome for its users. I'm really shared about this (I'll let you decide anyway!) You could just recommend to use the latest scala version. |
To go the cross publishing route, it should just be a matter of adding
in
as a dependency instead of just
(after-thought: not that cumbersome) |
Using same scala version as Ammonite seems to solve the problem (or at least, the REPL starts). I am facing another problem now (see #35), probably not directly related. |
Fixed in 0.2.8 |
The text was updated successfully, but these errors were encountered: