ivy由于sha1码不正确导致找不到模块(jar)的错误

sbt设置jboss-interceptor-api-1.1作为依赖,但是找不到

[info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ... [info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ... [warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (122ms) [warn] module not found: org.jboss.interceptor#jboss-interceptor-api;1.1 [warn] ==== typesafe-ivy-releases: tried [warn] https://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== sbt-plugin-releases: tried [warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== local: tried [warn] /Users/vicaba/.ivy2/local/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom [warn] ==== activator-launcher-local: tried [warn] /Users/vicaba/.activator/repository/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== activator-local: tried [warn] /Applications/activator-dist-1.3.12/repository/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [warn] ==== typesafe-releases: tried [warn] http://repo.typesafe.com/typesafe/releases/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom [warn] ==== typesafe-ivy-releasez: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml [info] Resolving javax.annotation#jsr250-api;1.0 ... [info] Resolving javax.inject#javax.inject;1 ... [info] Resolving org.eclipse.sisu#org.eclipse.sisu.inject;0.3.0 ... [info] Resolving org.codehaus.plexus#plexus-component-annotations;1.5.5 ... [info] Resolving org.codehaus.plexus#plexus-classworlds;2.5.2 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.jboss.interceptor#jboss-interceptor-api;1.1: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [info] Resolving com.typesafe.scala-logging#scala-logging_2.11;3.4.0 ... [info] Resolving org.scala-lang#scala-library;2.11.8 ... [info] Resolving org.slf4j#slf4j-api;1.7.21 ... [info] Resolving ch.qos.logback#logback-core;1.1.7 ... [info] Resolving ch.qos.logback#logback-classic;1.1.7 ... [info] Resolving org.scala-lang#scala-reflect;2.11.8 ... [info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.4 ... [info] Resolving org.scala-lang#scala-compiler;2.11.8 ... [info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.4 ... [info] Resolving jline#jline;2.12.1 ... [trace] Stack trace suppressed: run 'last *:updateSbtClassifiers' for the full output. [error] (*:updateSbtClassifiers) sbt.ResolveException: unresolved dependency: org.jboss.interceptor#jboss-interceptor-api;1.1: not found[error]Total time:5 s, completed Feb1,20179:51:26 AM这是由于SHA-1哈希文件与maven中心的POM散列不同导致的

这是由于SHA-1哈希文件与maven中心的POM散列不同导致的,这里是将“sbt sources”选项取消

 

 

posted on 2018-06-22 16:55  厚积!!  阅读(568)  评论(0编辑  收藏  举报

导航