Closed duketon closed 9 years ago
I think your Scala version must be 2.11. What is your version of sbt
or activator
? How do you build the project ? Can you give us the command line ?
Thanks
Sure,
$ scala -version
Scala code runner version 2.11.4 -- Copyright 2002-2013, LAMP/EPFL
$ sbt --version
sbt launcher version 0.13.7
Seems strange, not sure what else to try.
And what is the command you are running ? sbt compile ? Le 19 mai 2015 11:05 AM, "Michael Kendra" notifications@github.com a écrit :
Sure,
$ scala -version Scala code runner version 2.11.4 -- Copyright 2002-2013, LAMP/EPFL
$ sbt --version sbt launcher version 0.13.7
Seems strange, not sure what else to try.
— Reply to this email directly or view it on GitHub https://github.com/playframework/play-mailer/issues/43#issuecomment-103407486 .
Yes, sbt compile
I'm using activator
:
activator clean compile
[info] Loading project definition from /home/guillaume/workspace/opensource/play-mailer/project
[info] Set current project to play-mailer (in build file:/home/guillaume/workspace/opensource/play-mailer/)
[success] Total time: 0 s, completed 19 mai 2015 19:43:53
[info] Updating {file:/home/guillaume/workspace/opensource/play-mailer/}play-mailer...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 Scala source and 4 Java sources to /home/guillaume/workspace/opensource/play-mailer/target/scala-2.10/classes...
[success] Total time: 6 s, completed 19 mai 2015 19:43:59
activator --version
sbt launcher version 0.13.8-M5
Maybe try to download the latest sbt version ?
Are you behind a proxy ? Because the dependency org.json4s#json4s-native_2.10;3.2.10
is in the Maven repository : http://repo1.maven.org/maven2/org/json4s/json4s-native_2.10/3.2.10/
But AFAIK you should download the json4s-native_2.11 (for Scala 2.11) and not json4s-native_2.10
Got to the bottom of this.
I noticed I had some org.json4s
packages in my ivy2
local cache so I cleared them out and everything's fine now!
When trying to compile
master
I get :The
2.3.x
branch builds find. From what I can tell the only diff between the branches that would cause issues with building is the switch to v8 of the JDK. Which is strange since I'm running Java 8:Any ideas? I'm probably missing something simple! Thanks