scala – Sbt Unresolved Dependencies(不是有效的命令:gen-ide
发布时间:2020-12-16 08:47:07 所属栏目:安全 来源:网络整理
导读:我正试图让sbt使用sbt-idea插件生成Intellij IDEA项目文件,如 here所述. [warn] ::::::::::::::::::::::::::::::::::::::::::::::[warn] :: UNRESOLVED DEPENDENCIES ::[warn] ::::::::::::::::::::::::::::::::::::::::::::::[warn] :: de.undercouch#sbt-d
我正试图让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”目录解决了这个问题.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |