[2.4.2] unresolved dependencies : com.typesafe.play#sbt-plugin;2.4.2: not found

3,719 views
Skip to first unread message

Adrien Crovetto

unread,
Jul 23, 2015, 12:47:59 PM7/23/15
to play-framework
Hi, 

I try to migrate from play 2.3 to 2.4.2

sbt can't find com.typesafe.play#sbt-plugin;2.4.2

my Plugin.sbt 

resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"
resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/ivy-releases/"
resolvers += "sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/"
resolvers += "scalaz-bintray" at "https://de.bintray.com/scalaz/releases/"
resolvers += Classpaths.sbtPluginReleases
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.2")


they don't have the 2.4.2 version (or 2.4.0)

on wich repo can I find the plugin ? 

Harley Waldstein

unread,
Jul 23, 2015, 2:24:12 PM7/23/15
to play-framework, adrien....@googlemail.com
I'm experiencing the same issue. My error log is at the end of my post. I don't have any resolvers listed in my plugins.sbt file, and my project has worked fine before today. I'm not sure what's happening, but it looks like there's an issue with accessing repo.scala-sbt.org/scalasbt/, which appears to be a redirect to dl.bintray.com/sbt/. Bintray's https setting are fine, but when I connected to repo.scala-sbt.org via https, I got this error:

repo.scala-sbt.org uses an invalid security certificate.

The certificate is only valid for the following names:
(Error code: ssl_error_bad_cert_domain)

Which would suggest a problem with their SSL certificate. I have no idea if this is the case, but that's what it looks like from my end.

My output from running activator clean stage:
 
sudo activator-1.3.5-minimal/activator clean stage
[info] Loading project definition from /redacted/project
[info] Updating {file:/redacted/project/}redacted-build...
[info] Resolving com.typesafe.play#sbt-plugin;2.4.2 ...
[error] Server access Error: java.security.cert.CertificateException: No subject alternative DNS nam
e matching repo.scala-sbt.org found. url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com
.typesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.4.2/ivys/ivy.xml
[warn]  module not found: com.typesafe.play#sbt-plugin;2.4.2
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-plugin/scala_2.10/sbt
_0.13/2.4.2/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_
2.10/sbt_0.13/2.4.2/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /root/.ivy2/local/com.typesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.4.2/ivys/ivy.xml
[warn] ==== activator-launcher-local: tried
[warn]   /redacted/activator-1.3.5-minimal/repository/com.typesafe.play/sbt-plugin/scala_2.10/sbt_0.
13/2.4.2/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/typesafe/play/sbt-plugin_2.10_0.13/2.4.2/sbt-plugin-2.4.
2.pom
[warn] ==== typesafe-releases: tried
[warn]   https://repo.typesafe.com/typesafe/releases/com/typesafe/play/sbt-plugin_2.10_0.13/2.4.2/sb
t-plugin-2.4.2.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-plugin/scala_2.10/sbt
_0.13/2.4.2/ivys/ivy.xml
[info] Resolving com.typesafe.sbt#sbt-coffeescript;1.0.0 ...
[error] Server access Error: java.security.cert.CertificateException: No subject alternative DNS nam
e matching repo.scala-sbt.org found. url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com
.typesafe.sbt/sbt-coffeescript/scala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml
[warn]  module not found: com.typesafe.sbt#sbt-coffeescript;1.0.0
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-coffeescript/scala_2.1
0/sbt_0.13/1.0.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-coffeescript/s
cala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /root/.ivy2/local/com.typesafe.sbt/sbt-coffeescript/scala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml
[warn] ==== activator-launcher-local: tried
[warn]   /redacted/activator-1.3.5-minimal/repository/com.typesafe.sbt/sbt-coffeescript/scala_2.10/s
bt_0.13/1.0.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-coffeescript_2.10_0.13/1.0.0/sbt-coffee
script-1.0.0.pom
[warn] ==== typesafe-releases: tried
[warn]   https://repo.typesafe.com/typesafe/releases/com/typesafe/sbt/sbt-coffeescript_2.10_0.13/1.0
.0/sbt-coffeescript-1.0.0.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-coffeescript/scala_2.1
0/sbt_0.13/1.0.0/ivys/ivy.xml

. . .

[info] Resolving com.github.play2war#play2-war-plugin;1.4-beta1 ...
[error] Server access Error: java.security.cert.CertificateException: No subject alternative DNS nam
e matching repo.scala-sbt.org found. url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com
.github.play2war/play2-war-plugin/scala_2.10/sbt_0.13/1.4-beta1/ivys/ivy.xml
[warn]  module not found: com.github.play2war#play2-war-plugin;1.4-beta1
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.github.play2war/play2-war-plugin/scala_
2.10/sbt_0.13/1.4-beta1/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.github.play2war/play2-war-plugi
n/scala_2.10/sbt_0.13/1.4-beta1/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /root/.ivy2/local/com.github.play2war/play2-war-plugin/scala_2.10/sbt_0.13/1.4-beta1/ivys/i
vy.xml
[warn] ==== activator-launcher-local: tried
[warn]   /redacted/activator-1.3.5-minimal/repository/com.github.play2war/play2-war-plugin/scala_2.1
0/sbt_0.13/1.4-beta1/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/github/play2war/play2-war-plugin_2.10_0.13/1.4-beta1/pla
y2-war-plugin-1.4-beta1.pom
[warn] ==== typesafe-releases: tried
[warn]   https://repo.typesafe.com/typesafe/releases/com/github/play2war/play2-war-plugin_2.10_0.13/
1.4-beta1/play2-war-plugin-1.4-beta1.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.github.play2war/play2-war-plugin/scala_
2.10/sbt_0.13/1.4-beta1/ivys/ivy.xml
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.play#sbt-plugin;2.4.2: not found
[warn]  :: com.typesafe.sbt#sbt-coffeescript;1.0.0: not found
[warn]  :: com.typesafe.sbt#sbt-less;1.0.6: not found
[warn]  :: com.typesafe.sbt#sbt-jshint;1.0.3: not found
[warn]  :: com.typesafe.sbt#sbt-rjs;1.0.7: not found
[warn]  :: com.typesafe.sbt#sbt-digest;1.1.0: not found
[warn]  :: com.typesafe.sbt#sbt-mocha;1.1.0: not found
[warn]  :: com.typesafe.sbt#sbt-gzip;1.0.0: not found
[warn]  :: com.typesafe.sbt#sbt-play-enhancer;1.1.0: not found
[warn]  :: com.typesafe.sbt#sbt-play-ebean;1.0.0: not found
[warn]  :: com.typesafe.sbteclipse#sbteclipse-plugin;4.0.0: not found
[warn]  :: com.github.play2war#play2-war-plugin;1.4-beta1: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exi
st with the requested attributes.
[warn]          com.typesafe.sbt:sbt-play-ebean:1.0.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-coffeescript:1.0.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-rjs:1.0.7 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-less:1.0.6 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-gzip:1.0.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.play:sbt-plugin:2.4.2 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbteclipse:sbteclipse-plugin:4.0.0 (scalaVersion=2.10, sbtVersion=0.13)

[warn]          com.typesafe.sbt:sbt-jshint:1.0.3 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-digest:1.1.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-play-enhancer:1.1.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.github.play2war:play2-war-plugin:1.4-beta1 (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-mocha:1.1.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]          com.typesafe.sbt:sbt-play-ebean:1.0.0 (scalaVersion=2.10, sbtVersion=0.13) (/orgnize
r/project/plugins.sbt#L22-23)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-coffeescript:1.0.0 (scalaVersion=2.10, sbtVersion=0.13) (/orgni
zer/project/plugins.sbt#L5-6)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-rjs:1.0.7 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/proje
ct/plugins.sbt#L8-9)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-less:1.0.6 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/proj
ect/plugins.sbt#L6-7)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-gzip:1.0.0 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/proj
ect/plugins.sbt#L11-12)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.play:sbt-plugin:2.4.2 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/p
roject/plugins.sbt#L2-3)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbteclipse:sbteclipse-plugin:4.0.0 (scalaVersion=2.10, sbtVersion=0.13)
 (/redacted/project/plugins.sbt#L25-26)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-jshint:1.0.3 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/pr
oject/plugins.sbt#L7-8)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-digest:1.1.0 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/pr
oject/plugins.sbt#L9-10)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-play-enhancer:1.1.0 (scalaVersion=2.10, sbtVersion=0.13) (/orgn
izer/project/plugins.sbt#L17-18)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.github.play2war:play2-war-plugin:1.4-beta1 (scalaVersion=2.10, sbtVersion=0.13)
(/redacted/project/plugins.sbt#L28-29)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
[warn]          com.typesafe.sbt:sbt-mocha:1.1.0 (scalaVersion=2.10, sbtVersion=0.13) (/redacted/pro
ject/plugins.sbt#L10-11)
[warn]            +- default:redacted-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.4.2: not found
unresolved dependency: com.typesafe.sbt#sbt-coffeescript;1.0.0: not found
unresolved dependency: com.typesafe.sbt#sbt-less;1.0.6: not found
unresolved dependency: com.typesafe.sbt#sbt-jshint;1.0.3: not found
unresolved dependency: com.typesafe.sbt#sbt-rjs;1.0.7: not found
unresolved dependency: com.typesafe.sbt#sbt-digest;1.1.0: not found
unresolved dependency: com.typesafe.sbt#sbt-mocha;1.1.0: not found
unresolved dependency: com.typesafe.sbt#sbt-gzip;1.0.0: not found
unresolved dependency: com.typesafe.sbt#sbt-play-enhancer;1.1.0: not found
unresolved dependency: com.typesafe.sbt#sbt-play-ebean;1.0.0: not found
unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;4.0.0: not found
unresolved dependency: com.github.play2war#play2-war-plugin;1.4-beta1: not found
        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:291)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:188)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:165)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:132)
        at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
        at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
        at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:7
8)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
        at xsbt.boot.Using$.withResource(Using.scala:10)
        at xsbt.boot.Using$.apply(Using.scala:9)
        at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
        at xsbt.boot.Locks$.apply0(Locks.scala:31)
        at xsbt.boot.Locks$.apply(Locks.scala:28)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
        at sbt.IvySbt.withIvy(Ivy.scala:127)
        at sbt.IvySbt.withIvy(Ivy.scala:124)
        at sbt.IvySbt$Module.withModule(Ivy.scala:155)
        at sbt.IvyActions$.updateEither(IvyActions.scala:165)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1369)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1365)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$87.apply(Defaults.scala:1399)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$87.apply(Defaults.scala:1397)
        at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1402)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1396)
        at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
        at sbt.Classpaths$.cachedUpdate(Defaults.scala:1419)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1348)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1310)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:235)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.play#sbt-plugin;2.4.2:
not found
[error] unresolved dependency: com.typesafe.sbt#sbt-coffeescript;1.0.0: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-less;1.0.6: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-jshint;1.0.3: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-rjs;1.0.7: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-digest;1.1.0: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-mocha;1.1.0: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-gzip;1.0.0: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-play-enhancer;1.1.0: not found
[error] unresolved dependency: com.typesafe.sbt#sbt-play-ebean;1.0.0: not found
[error] unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;4.0.0: not found
[error] unresolved dependency: com.github.play2war#play2-war-plugin;1.4-beta1: not found

Taylor Robison

unread,
Jul 23, 2015, 2:56:40 PM7/23/15
to play-framework, adrien....@googlemail.com

https://github.com/sbt/sbt/issues/2125

Looks like the sbt guys are aware and are trying to fix it.  The workaround he suggested doesn't solve all my problems.  I guess I'll just have to be patient.

Taylor

Yoni Goldberg

unread,
Jul 23, 2015, 4:20:52 PM7/23/15
to play-framework, adrien....@googlemail.com
Having the same issue. 
Also for: com.typesafe.sbt % sbt-native-packager


On Thursday, July 23, 2015 at 12:47:59 PM UTC-4, Adrien Crovetto wrote:

Jens Jahnke

unread,
Aug 1, 2015, 4:30:06 AM8/1/15
to play-framework
Hi,

is there some workaround or progress for that issue?
I was trying to update some apps from play 2.3 to 2.4 but am unable to do so because the dependencies can't be resolved:

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

It doesn't matter if I try to update an old app or try to create a new one. The error message stays the same.

Regards,

Jens

Adrien Crovetto

unread,
Aug 1, 2015, 4:37:07 AM8/1/15
to play-framework
Hi,

I added this repository for sbt-plugin and it did it
 
resolvers += "Typesafe repository plugin" at "https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"

Jens Jahnke

unread,
Aug 1, 2015, 5:22:42 AM8/1/15
to play-framework
Hi,

that resulted in the same error message.
However if I change scalaVersion in build.sbt from "2.11.7" to "2.10.5" then it resolves... wtf?
Reply all
Reply to author
Forward
0 new messages