Playframework 由于服务器访问错误而未解决的依赖项:连接超时:连接在播放2.2.2中?

Playframework 由于服务器访问错误而未解决的依赖项:连接超时:连接在播放2.2.2中?,playframework,sbt,Playframework,Sbt,我是新加入框架的玩家,无法添加托管依赖项 Play的版本是2.2.2,sbt是0.13.0 在下面的示例中,我尝试“管理”/“下载”()ApacheDerby库,但我也尝试了其他几个和许多不同的解析器。该库最终成为未解析的依赖项 我已经阅读了有关在中管理依赖项的内容 我已经尝试了很多不同的库,并确保它们是可访问的,并且解析器是正确的。问题不在于防火墙/代理,因为我通过直接连接到internet进行测试 build.sbt的设置如下所示(我尝试了所有可以想象的变化): 以及插件。sbt: // C

我是新加入框架的玩家,无法添加托管依赖项

Play的版本是2.2.2,sbt是0.13.0

在下面的示例中,我尝试“管理”/“下载”()ApacheDerby库,但我也尝试了其他几个和许多不同的解析器。该库最终成为未解析的依赖项

我已经阅读了有关在中管理依赖项的内容

我已经尝试了很多不同的库,并确保它们是可访问的,并且解析器是正确的。问题不在于防火墙/代理,因为我通过直接连接到internet进行测试

build.sbt的设置如下所示(我尝试了所有可以想象的变化):

以及插件。sbt

// Comment to get more information during initialization
logLevel := Level.Warn

// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.2")
当我运行
play update
play run
时,我在播放控制台中收到以下错误消息:

[kursguiden] $ update
[info] Updating {file:/C:/play/kursguiden/}kursguiden...
[info] Resolving org.scala-lang#scala-library;2.10.3 ...
[info] Resolving org.apache.derby#derby;10.4.1.3 ...
[error] Server access Error: Connection timed out: connect url=http://repo1.mave
n.org/maven2/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.pom
[error] Server access Error: Connection timed out: connect url=http://repo1.mave
n.org/maven2/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.pom
[error] Server access Error: Connection timed out: connect url=http://mvnreposit
ory.com/artifact/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.pom

.
.
.

[info] Resolving commons-io#commons-io;2.4 ...
[info] Resolving org.scala-lang#scala-compiler;2.10.3 ...
[info] Resolving org.scala-lang#jline;2.10.3 ...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
warn]  ::::::::::::::::::::::::::::::::::::::::::::::
warn]  ::          UNRESOLVED DEPENDENCIES         ::
warn]  ::::::::::::::::::::::::::::::::::::::::::::::
warn]  :: org.apache.derby#derby;10.4.1.3: not found
warn]  ::::::::::::::::::::::::::::::::::::::::::::::
trace] Stack trace suppressed: run last *:update for the full output.
error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.derby
derby;10.4.1.3: not found
error] Total time: 422 s, completed 2014-mar-20 23:11:27
这只是一个已经尝试过的例子。在这个问题上花费了最后8个小时:)


你认为会有什么问题?我可以通过浏览器访问所有的文件,所以我的线索是肯定有一些奇怪的设置。

你的构建文件对我很有用。似乎
服务器访问错误:连接超时:连接
是您的连接或服务器本身的临时网络问题。再试一次

您可能还希望从build.sbt中删除以下
解析器,因为我认为它们不需要(至少是最后一个):


谢谢验证!你是完全正确的,显然我有一个“区域警报”进程仍在后台运行,但没有显示在系统托盘中。我以后肯定不会忘记检查的。。
[kursguiden] $ update
[info] Updating {file:/C:/play/kursguiden/}kursguiden...
[info] Resolving org.scala-lang#scala-library;2.10.3 ...
[info] Resolving org.apache.derby#derby;10.4.1.3 ...
[error] Server access Error: Connection timed out: connect url=http://repo1.mave
n.org/maven2/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.pom
[error] Server access Error: Connection timed out: connect url=http://repo1.mave
n.org/maven2/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.pom
[error] Server access Error: Connection timed out: connect url=http://mvnreposit
ory.com/artifact/org/apache/derby/derby/10.4.1.3/derby-10.4.1.3.pom

.
.
.

[info] Resolving commons-io#commons-io;2.4 ...
[info] Resolving org.scala-lang#scala-compiler;2.10.3 ...
[info] Resolving org.scala-lang#jline;2.10.3 ...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
warn]  ::::::::::::::::::::::::::::::::::::::::::::::
warn]  ::          UNRESOLVED DEPENDENCIES         ::
warn]  ::::::::::::::::::::::::::::::::::::::::::::::
warn]  :: org.apache.derby#derby;10.4.1.3: not found
warn]  ::::::::::::::::::::::::::::::::::::::::::::::
trace] Stack trace suppressed: run last *:update for the full output.
error] (*:update) sbt.ResolveException: unresolved dependency: org.apache.derby
derby;10.4.1.3: not found
error] Total time: 422 s, completed 2014-mar-20 23:11:27
resolvers += "Maven Central" at "http://repo1.maven.org/maven2/"

resolvers += "mvnrepository" at "http://mvnrepository.com/artifact/"