[play 2.3.4] Older versions of the libraries are not supported?

131 views
Skip to first unread message

Zoro

unread,
Mar 31, 2016, 1:30:41 PM3/31/16
to play-framework
Hello

I downloaded my old project made in 2014. Now i need fix one page. But when i try to run the sbt i get UNRESOLVED DEPENDENCIES.

[info] Loading project definition from /home/n0tel/IdeaProjects/myproject/project
[warn]  module not found: com.typesafe.play#build-link;2.3.4
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== sbt-plugin-releases: tried
[warn] ==== local: tried
[warn]   /home/n0tel/.ivy2/local/com.typesafe.play/build-link/2.3.4/ivys/ivy.xml
[warn] ==== public: tried
[warn]  module not found: com.typesafe.play#play-exceptions;2.3.4
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== sbt-plugin-releases: tried
[warn] ==== local: tried
[warn]   /home/n0tel/.ivy2/local/com.typesafe.play/play-exceptions/2.3.4/ivys/ivy.xml
[warn] ==== public: tried
[warn]  module not found: com.typesafe.play#routes-compiler_2.10;2.3.4
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== sbt-plugin-releases: tried
[warn] ==== local: tried
[warn]   /home/n0tel/.ivy2/local/com.typesafe.play/routes-compiler_2.10/2.3.4/ivys/ivy.xml
[warn] ==== public: tried
[warn]  module not found: com.typesafe#jse_2.10;1.0.0
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== sbt-plugin-releases: tried
[warn] ==== local: tried
[warn]   /home/n0tel/.ivy2/local/com.typesafe/jse_2.10/1.0.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]  module not found: com.typesafe#npm_2.10;1.0.0
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== sbt-plugin-releases: tried
[warn] ==== local: tried
[warn]   /home/n0tel/.ivy2/local/com.typesafe/npm_2.10/1.0.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]  module not found: com.typesafe#webdriver_2.10;1.0.0
[warn] ==== typesafe-ivy-releases: tried
[warn] ==== sbt-plugin-releases: tried
[warn] ==== local: tried
[warn]   /home/n0tel/.ivy2/local/com.typesafe/webdriver_2.10/1.0.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.play#build-link;2.3.4: not found
[warn]  :: com.typesafe.play#play-exceptions;2.3.4: not found
[warn]  :: com.typesafe.play#routes-compiler_2.10;2.3.4: 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]  :: com.typesafe#webdriver_2.10;1.0.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.typesafe.play#build-link;2.3.4: not found
unresolved dependency: com.typesafe.play#play-exceptions;2.3.4: not found
unresolved dependency: com.typesafe.play#routes-compiler_2.10;2.3.4: 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: com.typesafe#webdriver_2.10;1.0.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 xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
        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: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: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#build-link;2.3.4: not found
[error] unresolved dependency: com.typesafe.play#play-exceptions;2.3.4: not found
[error] unresolved dependency: com.typesafe.play#routes-compiler_2.10;2.3.4: 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: com.typesafe#webdriver_2.10;1.0.0: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? 



I resolve issue by download each missing library from versioneye.com .

 I know the issue of dependency was asked many times. But I could not find the build-link;2.3.4 (or any other) in the repository. They have been removed?




Christian Schmitt

unread,
Mar 31, 2016, 2:10:18 PM3/31/16
to play-framework
Actually you could upgrade your project to 2.3.10 which is the latest minor version of play 2.3 that should resolve your issue's.

Zoro

unread,
Mar 31, 2016, 4:26:04 PM3/31/16
to play-framework
Yes, i can. But if I update framework, there is the likelihood of errors. Some libraries may not be compatible, and the new version may contain modified api. They also need to be fixed. As a result, I spend a lot of time for a simple presentation.

I understand that in the new version fixed vulnerabilities. But when I need to make a few changes to show to some people, it is time-consuming.

This project only two years, and he no longer runs out of the box.

Christian Schmitt

unread,
Mar 31, 2016, 4:31:14 PM3/31/16
to play-framework
Nono upgrading to 2.3.10 is binary compatible to 2.3.4 you could just upgrade. 
There is only binary incompabilities between minors and the last is just the patch level and won't change the API.

Zoro

unread,
Apr 1, 2016, 6:50:53 AM4/1/16
to play-framework
I changed play version from 2.3.4 to 2.3.10 in plugins.sbt

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.4")  ==>  addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.10")

After that 3 dependencies were gone, but another 3 remained.

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe#jse_2.10;1.0.0: not found
[warn]  :: com.typesafe#npm_2.10;1.0.0: not found
[warn]  :: com.typesafe#webdriver_2.10;1.0.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::


I have next resolvers:

resolvers ++= Seq(
 
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
 
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/",
 
Resolver.sonatypeRepo("releases")
)

and dependencies:

libraryDependencies ++= Seq(
  cache
,
  ws
,
 
"org.reactivemongo" %% "play2-reactivemongo" % "0.10.5.akka23-SNAPSHOT",
 
"com.typesafe.play.plugins" %% "play-plugins-mailer" % "2.3.1",
 
"joda-time" % "joda-time" % "2.3",
 
"org.mindrot" % "jbcrypt" % "0.3m"
)

Reply all
Reply to author
Forward
0 new messages