我正试图让sbt使用sbt-idea插件生成Intellij IDEA项目文件,如
here所述.
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: de.undercouch#sbt-docbook-plugin;0.2-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] de.undercouch:sbt-docbook-plugin:0.2-SNAPSHOT (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn]
[error] {file:/Users/ndidi/Sandbox/specs2-spring-examples/simple/project/plugins/}default-58af23/*:update: sbt.ResolveException: unresolved dependency: de.undercouch#sbt-docbook-plugin;0.2-SNAPSHOT: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] Not a valid command: gen-idea
[error] gen-idea
[error] ^
我已经浏览了项目的问题页面以及广泛的Google搜索,但是我还没有发现其他任何人遇到过这个问题,这让我觉得这个问题有点不常见,可能与我的设置问题有关.
如果有人能对此有所启发,那就非常感激了.
提前致谢.
最佳答案 我通过清理sbt-idea官方网站上
this thread中建议的“〜/ .ivy2”和“〜/ .sbt”目录解决了这个问题.