Play 2.3.0 sbt-plugin not found

2,162 views
Skip to first unread message

Allekto

unread,
Jun 1, 2014, 9:55:29 AM6/1/14
to play-fr...@googlegroups.com
Hi,

i tried the new Play Version 2.3.0. After installing i cannot run old projects ar even newly created ones. The error i get is:

 sbt.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.3.0: not found

What can i do to make this work?

Normen Müller

unread,
Jun 1, 2014, 10:00:36 AM6/1/14
to play-fr...@googlegroups.com

Allekto

unread,
Jun 1, 2014, 10:19:13 AM6/1/14
to play-fr...@googlegroups.com
Thanks, but this does not work for me since in my old project there is no generated activator script. Besides also my newly generated project does not work, even if i specify the full path of the activator script under OSX.

Normen Müller

unread,
Jun 1, 2014, 10:29:08 AM6/1/14
to play-fr...@googlegroups.com
Could your provide some command line output?

Allekto

unread,
Jun 1, 2014, 10:35:11 AM6/1/14
to play-fr...@googlegroups.com
Yes shure:

[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     ::          UNRESOLVED DEPENDENCIES         ::
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     :: com.typesafe.play#sbt-plugin;2.3.0: not found
[warn]     :: com.typesafe#jse_2.10;1.0.0: not found
[warn]     :: com.typesafe#npm_2.10;1.0.0: not found
[warn]     :: org.scala-sbt#sbt;0.13.5: not found
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]     Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]         com.typesafe.play:sbt-plugin:2.3.0 (sbtVersion=0.13, scalaVersion=2.10)
[warn]
sbt
.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.3.0: not found
unresolved dependency
: com.typesafe#jse_2.10;1.0.0: not found
unresolved dependency
: com.typesafe#npm_2.10;1.0.0: not found
unresolved dependency
: org.scala-sbt#sbt;0.13.5: not found
    at sbt
.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
    at sbt
.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
    at sbt
.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
    at sbt
.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt
.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt
.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:103)
    at sbt
.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:48)
    at sbt
.IvySbt$$anon$3.call(Ivy.scala:57)
    at xsbt
.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
    at xsbt
.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
    at xsbt
.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
    at xsbt
.boot.Using$.withResource(Using.scala:11)
    at xsbt
.boot.Using$.apply(Using.scala:10)
    at xsbt
.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
    at xsbt
.boot.Locks$GlobalLock.withLock(Locks.scala:52)
    at xsbt
.boot.Locks$.apply0(Locks.scala:31)
    at xsbt
.boot.Locks$.apply(Locks.scala:28)
    at sbt
.IvySbt.withDefaultLogger(Ivy.scala:57)
    at sbt
.IvySbt.withIvy(Ivy.scala:98)
    at sbt
.IvySbt.withIvy(Ivy.scala:94)
    at sbt
.IvySbt$Module.withModule(Ivy.scala:115)
    at sbt
.IvyActions$.update(IvyActions.scala:125)
    at sbt
.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1223)
    at sbt
.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1221)
    at sbt
.Classpaths$$anonfun$doWork$1$1$$anonfun$74.apply(Defaults.scala:1244)
    at sbt
.Classpaths$$anonfun$doWork$1$1$$anonfun$74.apply(Defaults.scala:1242)
    at sbt
.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
    at sbt
.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1246)
    at sbt
.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1241)
    at sbt
.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
    at sbt
.Classpaths$.cachedUpdate(Defaults.scala:1249)
    at sbt
.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1214)
    at sbt
.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1192)
    at scala
.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt
.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
    at sbt
.std.Transform$$anon$4.work(System.scala:64)
    at sbt
.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt
.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt
.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    at sbt
.Execute.work(Execute.scala:244)
    at sbt
.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt
.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt
.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    at sbt
.CompletionService$$anon$2.call(CompletionService.scala:30)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java
.lang.Thread.run(Thread.java:744)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.3.0: not found
[error] unresolved dependency: com.typesafe#jse_2.10;1.0.0: not found
[error] unresolved dependency: com.typesafe#npm_2.10;1.0.0: not found
[error] unresolved dependency: org.scala-sbt#sbt;0.13.5: not found

Normen Müller

unread,
Jun 1, 2014, 10:42:01 AM6/1/14
to play-fr...@googlegroups.com
Seems like we are facing the same problems :-) cf. https://groups.google.com/forum/#!topic/play-framework/E6acpxk9930

Try to switch to the full activator package and stay with Scala 2.11.1. Unfortunately, then you don't have eclipse support yet.
Yes shure:


    at sbt
.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala<span style="color: #660;" class="sty
...

stefaan luckermans

unread,
Jun 1, 2014, 10:49:52 AM6/1/14
to play-fr...@googlegroups.com
Had the same problem, but downloading the latest version of the activator (1.2.0) solved the problem …



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

Allekto

unread,
Jun 1, 2014, 11:34:59 AM6/1/14
to play-fr...@googlegroups.com
i downloaded the full package of activator-1.2.0 and tried the angular-seed-template. Still the same error :-(

sbt.ResolveException: unresolved dependency: com.typesafe.play#play_2.10;2.3.0: not found

Rotem Erlich

unread,
Jun 1, 2014, 12:17:35 PM6/1/14
to play-fr...@googlegroups.com
I guess there is some problem with the repositories.
The solution I found is to adds

resolvers ++= Seq(

    "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",

    "Typesafe Maven Repository" at "http://repo.typesafe.com/typesafe/maven-releases/",

)

It seems like the maven-release repository have all the missing dependencies.


Christopher Hunt

unread,
Jun 1, 2014, 3:49:31 PM6/1/14
to play-fr...@googlegroups.com
Apparently there were some repo issues overnight. Could you please try again?

Allekto

unread,
Jun 1, 2014, 4:02:36 PM6/1/14
to play-fr...@googlegroups.com
Thanks. Newly created projects seem to work now. But my existing projects still fail with the message:

 sbt.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.3.0: not found

Christopher Hunt

unread,
Jun 1, 2014, 5:57:10 PM6/1/14
to play-fr...@googlegroups.com
May be clean your project/project, project/target and target folders...?

--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/UBcgmOkQ9dE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.

Normen Müller

unread,
Jun 1, 2014, 10:46:56 PM6/1/14
to play-fr...@googlegroups.com
Hi Christopher, yes, works now w/o further action! Thanks!


On Sun, Jun 1, 2014 at 9:49 PM, Christopher Hunt <christop...@typesafe.com> wrote:
Apparently there were some repo issues overnight. Could you please try again?

Kurtis Melby

unread,
Jun 1, 2014, 11:11:55 PM6/1/14
to play-fr...@googlegroups.com
Just an FYI, this still appears to be a problem with the minimal distribution of activator. I downloaded the full package and it started working.

Rich Dougherty

unread,
Jun 1, 2014, 11:15:02 PM6/1/14
to play-framework
On Mon, Jun 2, 2014 at 3:11 PM, Kurtis Melby <melb...@gmail.com> wrote:
Just an FYI, this still appears to be a problem with the minimal distribution of activator. I downloaded the full package and it started working.

I was having problems before, but now they're fixed for me. Would you mind double-checking? And if you're still getting an error can you include the error message so that we can see which URLs you're trying to download?

Cheers
Rich

--
Rich Dougherty - @richdougherty
Engineer - Typesafe, Inc

Allekto

unread,
Jun 2, 2014, 2:57:13 AM6/2/14
to play-fr...@googlegroups.com
Sorry, i still got the problem in my old project. even after deleting target and project/target, project/project directories.

[warn]     module not found: com.typesafe.play#sbt-plugin;2.3.0
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-plugin/scala_2.11/sbt_0.13/2.3.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_2.11/sbt_0.13/2.3.0/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /Users/allekto/.ivy2/local/com.typesafe.play/sbt-plugin/scala_2.11/sbt_0.13/2.3.0/ivys/ivy.xml
[warn] ==== activator-local: tried
[warn]   file:/Applications/play/repository/com.typesafe.play/sbt-plugin/scala_2.11/sbt_0.13/2.3.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/typesafe/play/sbt-plugin_2.11_0.13/2.3.0/sbt-plugin-2.3.0.pom
[warn] ==== typesafe-releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/com/typesafe/play/sbt-plugin_2.11_0.13/2.3.0/sbt-plugin-2.3.0.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-plugin/scala_2.11/sbt_0.13/2.3.0/ivys/ivy.xml
[warn] ==== Typesafe repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/com/typesafe/play/sbt-plugin_2.11_0.13/2.3.0/sbt-plugin-2.3.0.pom

[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     ::          UNRESOLVED DEPENDENCIES         ::
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]     :: com.typesafe.play#sbt-plugin;2.3.0: not found
[warn]     ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]     Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]         com.typesafe.play:sbt-plugin:2.3.0 (sbtVersion=0.13, scalaVersion=2.11)
[warn]
sbt
.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.3.0: not found

    at sbt
.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
    at sbt
.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
    at sbt
.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
    at sbt
.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt
.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt
.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:103)
    at sbt
.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:48)
    at sbt
.IvySbt$$anon$3.call(Ivy.scala:57)

    at xsbt
.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)

    at sbt
.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
    at sbt
.std.Transform$$anon$4.work(System.scala:64)
    at sbt
.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt
.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt
.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    at sbt
.Execute.work(Execute.scala:244)
    at sbt
.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt
.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt
.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    at sbt
.CompletionService$$anon$2.call(CompletionService.scala:30)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java
.lang.Thread.run(Thread.java:744)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.3.0: not found

Allekto

unread,
Jun 2, 2014, 4:08:43 PM6/2/14
to play-fr...@googlegroups.com
I got the error. I was using Scala Version 2.11. SBT Plugin is not available on the repositories for Scala 2.11. Only 2.10 works with sbt-plugin. Would have been cool if that would be mentioned in the migration guide. From the guide i got the impression i have to update to scala 2.11.

    at sbt
.IvySbt$Module.withModule(Ivy.scala:115<span style="color: #660;" class=
...
Reply all
Reply to author
Forward
0 new messages