在sbt的repositories中添加了本地的maven仓库,像这样子:
1 |
Local Maven Repository:file://D:/JDevelop/maven/mavenrepo |
不过在执行时收到了如下的错误提示:
1 2 3 4 5 6 7 8 9 |
[trace] Stack trace suppressed: run last *:update for the full output. [trace] Stack trace suppressed: run last *:ssExtractDependencies for the full output. [error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor_2.11;2.4.12: several problems occurred while resolving dependency: com.typesafe.akka#akka-actor_2.11;2.4.12 {compile=[default(compile)]}: [error] URI has an authority component [error] URI has an authority component [error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor_2.11;2.4.12: several problems occurred while resolving dependency: com.typesafe.akka#akka-actor_2.11;2.4.12 {compile=[default(compile)]}: [error] URI has an authority component [error] URI has an authority component [error] Total time: 2 s, completed 2016-11-5 8:10:42 |
修改起来也比较简单,只需要这样设置即可:
1 |
Local Maven Repository:file:///D:/JDevelop/maven/mavenrepo |
在file://后面多添了一个斜杠。
发表评论