无法解决SBT中的依赖关系

时间:2018-07-10 11:59:27

标签: scala sbt

我想用Scala创建RESTful Web服务,所以我恢复了一个项目,但是当我尝试执行sbt命令运行该应用程序时,出现了一条错误消息,并且我不明白为什么。 / p>

[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.github.mpeltonen#sbt-idea;1.5.0-SNAPSHOT: Resolution failed several times for dependency: com.github.mpeltonen#sbt-idea;1.5.0-SNAPSHOT {compile=[default(compile)]}::    
[error]         typesafe-ivy-releases: unable to get resource for com.github.mpeltonen#sbt-idea;1.5.0-SNAPSHOT: res=https://repo.typesafe.com/typesafe/ivy-releases/com.github.mpeltonen/sbt-idea/scala_2.12/sbt_1.0/1.5.0-SNAPSHOT/ivys/ivy.xml: java.io.IOException: Unexpected response code for CONNECT: 404    
[error]         sbt-plugin-releases: unable to get resource for com.github.mpeltonen#sbt-idea;1.5.0-SNAPSHOT: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.github.mpeltonen/sbt-idea/scala_2.12/sbt_1.0/1.5.0-SNAPSHOT/ivys/ivy.xml: java.io.IOException: Unexpected response code for CONNECT: 404    
[error]         public: unable to get resource for com/github/mpeltonen#sbt-idea;1.5.0-SNAPSHOT: res=https://repo1.maven.org/maven2/com/github/mpeltonen/sbt-idea_2.12_1.0/1.5.0-SNAPSHOT/sbt-idea-1.5.0-SNAPSHOT.pom: java.io.IOException: Unexpected response code for CONNECT: 404    
[error]         Sonatype snapshots: unable to get resource for com/github/mpeltonen#sbt-idea;1.5.0-SNAPSHOT: res=http://oss.sonatype.org/content/repositories/snapshots/com/github/mpeltonen/sbt-idea_2.12_1.0/1.5.0-SNAPSHOT/sbt-idea-1.5.0-SNAPSHOT.pom: java.io.IOException: unexpected end of stream on Connection{oss.sonatype.org:80, proxy=HTTP @ 192.168.41.5:80 hostAddress=/192.168.41.5:80 cipherSuite=none protocol=http/1.1}    
[error]         Sonatype releases: unable to get resource for com/github/mpeltonen#sbt-idea;1.5.0-SNAPSHOT: res=https://oss.sonatype.org/content/repositories/releases/com/github/mpeltonen/sbt-idea_2.12_1.0/1.5.0-SNAPSHOT/sbt-idea-1.5.0-SNAPSHOT.pom: java.io.IOException: Unexpected response code for CONNECT: 404    
[error] unresolved dependency: com.eed3si9n#sbt-assembly;0.9.0: Resolution failed several times for dependency: com.eed3si9n#sbt-assembly;0.9.0 {compile=[default(compile)]}::    
[error]         typesafe-ivy-releases: unable to get resource for com.eed3si9n#sbt-assembly;0.9.0: res=https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-assembly/scala_2.12/sbt_1.0/0.9.0/ivys/ivy.xml: java.io.IOException: Unexpected response codefor CONNECT: 404
[error]         sbt-plugin-releases: unable to get resource for com.eed3si9n#sbt-assembly;0.9.0: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.12/sbt_1.0/0.9.0/ivys/ivy.xml: java.io.IOException: Unexpected response code for CONNECT: 404    
[error]         public: unable to get resource for com/eed3si9n#sbt-assembly;0.9.0: res=https://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.12_1.0/0.9.0/sbt-assembly-0.9.0.pom: java.io.IOException: Unexpected response code for CONNECT: 404

0 个答案:

没有答案