我有一个使用Scala运行游戏2.5的项目,直到今晚才能正常运行。我突然无法拉出一堆依赖..我不知道该怎么办..这里是stacktrace:
sbt.ResolveException: unresolved dependency: io.netty#netty-
codec;4.0.36.Final: not found
unresolved dependency: io.netty#netty-handler;4.0.36.Final: not found
unresolved dependency: org.asynchttpclient#netty-resolver-dns;2.0.2: not found
unresolved dependency: com.typesafe.netty#netty-reactive-streams;1.0.4:not found
unresolved dependency: org.javassist#javassist;3.20.0-GA: not found
unresolved dependency: org.slf4j#slf4j-api;1.7.21: not found
unresolved dependency: oauth.signpost#signpost-core;1.2.1.2: not found
unresolved dependency: oauth.signpost#signpost-commonshttp4;1.2.1.2:not found
unresolved dependency: com.sndyuk#logback-more-appenders;1.4.1:not found
unresolved dependency: org.komamitsu#fluency;1.1.0: not found
unresolved dependency: com.typesafe#config;1.3.1: not found
unresolved dependency: org.scaldi#scaldi_2.11;0.5.8: not found
unresolved dependency: org.scaldi#scaldi-play_2.11;0.5.14: not found
unresolved dependency: org.scaldi#scaldi-akka_2.11;0.5.7: not found
unresolved dependency: org.scaldi#scaldi-jsr330_2.11;0.5.9: not found
unresolved dependency: org.json4s#json4s-native_2.11;3.3.0: not found
unresolved dependency: org.json4s#json4s-ext_2.11;3.2.11: not found
unresolved dependency: com.sksamuel.avro4s#avro4s-core_2.11;1.6.4: not found
unresolved dependency: org.apache.avro#avro;1.8.1: not found
unresolved dependency: org.apache.kafka#kafka_2.11;0.10.1.1: not found
unresolved dependency: org.aspectj#aspectjrt;1.8.6: not found
unresolved dependency: com.sksamuel.elastic4s#elastic4s-core_2.11;5.4.0: not found
unresolved dependency: com.sksamuel.elastic4s#elastic4s-jackson_2.11;5.4.0: not found
unresolved dependency: com.sksamuel.elastic4s#elastic4s-http_2.11;5.4.0: not found
....
我该如何解决这个问题?
提前多多感谢。
答案 0 :(得分:0)
我在maven central发现了这个版本:https://search.maven.org/#artifactdetails%7Cio.netty%7Cnetty-codec%7C4.0.36.Final%7Cjar
您是否明确导入依赖项?或者它是递归依赖?
答案 1 :(得分:0)
如果你突然找不到任何依赖关系,那么它看起来很像你有一个短暂的网络问题阻止你进行下载。
建议:
稍后再试。
尝试直接在浏览器中下载依赖项,看看它们是否有效。