我正在按照在线教程学习java Play Framework。 在我在控制台中键入“Play”命令之前,一切都很好。
控制台不断报告服务器访问错误:操作超时,如下所示。我很确定我已连接到互联网。
[info] Loading project definition from /Users/ruanpingcheng/Desktop/myFirstApp/project
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin- releases/com.typesafe.play/play-exceptions/2.2.3/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/routes-compiler_2.10/2.2.3/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe/config/1.0.2/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.google.javascript/closure-compiler/v20130603/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.google.guava/guava/14.0.1/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.json/json/20090211/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/net.contentobjects.jnotify/jnotify/0.94/ivys/ivy.xml
[error] Server access Error: Operation timed out url=http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.github.mpeltonen/sbt-idea/scala_2.10/sbt_0.13/1.5.1/ivys/ivy.xml
任何人都可以帮我解决这个问题吗? 谢谢!
答案 0 :(得分:0)
尝试将其中一个网址粘贴到您的浏览器中,看看它是否获得了XML文件:
http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe/config/1.0.2/ivys/ivy.xml
如果您的浏览器无法访问该文件,那么您的网络或互联网提供商就会遇到问题。