1
在運行sbt assembly
時,出現以下錯誤:爲什麼sbt程序集在更新依賴關係時拋出錯誤?
C:\javaeclipse>sbt assembly
...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
java.io.FileNotFoundException: C:\javaeclipse\target\resolution-cache\simple\simple_2.10\0.1.0 \resolved.xml.xml (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
...
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] (*:update) java.io.FileNotFoundException: C:\javaeclipse\target\resolution-cache\simple\simple_2.10\0.1.0 \resolved.xml.xml (The system cannot find the path specified)
[error] Total time: 4 s, completed Sep 4, 2014 4:40:52 PM
我不知道什麼是resolved.xml.xml
,我甚至不能找到它在我的項目。
請注意'版本'中的多餘空間。它*可能是問題。檢查'build.sbt'並更正'version:=「0.1.0」'沒有空格。 – 2014-09-06 12:01:39
@JacekLaskowski:你提出的解決方案工作:)。出於好奇,你是如何得到這個解決方案的?恕我直言,解決方案與拋出的錯誤無關。 – Siva 2014-09-08 07:38:57
我很高興。真!我看到其他人無法做到的事情:-)查看我的答案。批准如果工作正常。謝謝! – 2014-09-08 09:01:04