activator dist failing when using Scala 2.12.0

28 views
Skip to first unread message

docbo...@gmail.com

unread,
Jan 10, 2017, 1:59:45 PM1/10/17
to scala-user
I updated the scala version in my build.sbt file to 2.12.0 from 2.11.8.

    scalaVersion := "2.12.0"


But now **activator dist** is failing with the following errors. Please advise:


    [info] Resolving com.typesafe.play#twirl-api_2.12;1.1.1 ...
    [warn]  module not found: com.typesafe.play#twirl-api_2.12;1.1.1
    [warn] ==== local: tried
    [warn]   /home/ubuntu/.ivy2/local/com.typesafe.play/twirl-api_2.12/1.1.1/ivys/ivy.xml
    [warn] ==== public: tried
    [warn]   https://repo1.maven.org/maven2/com/typesafe/play/twirl-api_2.12/1.1.1/twirl-api_2.12-1.1.1.pom
    [warn] ==== activator-launcher-local: tried
    [warn]   /home/ubuntu/activator/repository/com.typesafe.play/twirl-api_2.12/1.1.1/ivys/ivy.xml
    [warn] ==== typesafe-releases: tried
    [warn]   https://repo.typesafe.com/typesafe/releases/com/typesafe/play/twirl-api_2.12/1.1.1/twirl-api_2.12-1.1.1.pom
    [warn] ==== typesafe-ivy-releasez: tried
    [warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/twirl-api_2.12/1.1.1/ivys/ivy.xml

Oliver Ruebenacker

unread,
Jan 10, 2017, 2:03:32 PM1/10/17
to docbo...@gmail.com, scala-user

     Hello,

  Might help to post your build file. Maybe you need a newer (than 1.1.1) version of Twirl?

     Best, Oliver

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Oliver Ruebenacker
Senior Software Engineer, Diabetes Portal, Broad Institute

Ali, Saqib

unread,
Jan 10, 2017, 2:13:57 PM1/10/17
to Oliver Ruebenacker, scala-user
build.sbt:

name := """quran-ngrams"""

version := "1.0-SNAPSHOT"

lazy val root = (project in file(".")).enablePlugins(PlayScala)

scalaVersion := "2.12.1"


libraryDependencies ++= Seq(
cache,
ws
)

libraryDependencies <+= scalaVersion("org.scala-lang" % "scala-compiler" % _ )
----
>> email to scala-user+...@googlegroups.com.

Adriaan Moors

unread,
Jan 10, 2017, 2:19:42 PM1/10/17
to Ali, Saqib, Oliver Ruebenacker, scala-user
The underlying issue is that there is no Play release yet for 2.12. Play 2.6 is due March-April.

Adriaan Moors

unread,
Jan 10, 2017, 2:20:37 PM1/10/17
to Ali, Saqib, Oliver Ruebenacker, scala-user
(Here's the 2.12 upgrade PR for Play 2.6: https://github.com/playframework/playframework/pull/6691)

Ali, Saqib

unread,
Jan 10, 2017, 3:35:35 PM1/10/17
to Adriaan Moors, Oliver Ruebenacker, scala-user
Adriaan,

How can I try this out? (newbie question?)

Thanks

----

Adriaan Moors

unread,
Jan 10, 2017, 4:15:50 PM1/10/17
to Ali, Saqib, Oliver Ruebenacker, scala-user
It would involve building play yourself, as far as I know :-) If you're feeling adventurous, I would suggest asking about this over at https://groups.google.com/forum/#!aboutgroup/play-framework.

Sorry I can't be of more assistance with this.

Ali, Saqib

unread,
Jan 10, 2017, 4:36:00 PM1/10/17
to Adriaan Moors, Oliver Ruebenacker, scala-user
In that case I will wait for the official release :)
----
Reply all
Reply to author
Forward
0 new messages