在运行sbt assembly
时,它失败并出现以下错误:
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
是什么,我甚至无法在我的项目中找到它。
答案 0 :(得分:1)
请注意错误日志中显示的版本中的无关空间(在0.1.0
之后和之后的\
之前):
[error](*:update)java.io.FileNotFoundException:C:\ javaeclipse \ target \ resolution-cache \ simple \ simple_2.10 \ 0.1.0 \ resolved.xml.xml(系统找不到路径指定)
修复version := "0.1.0 "
没有空格并重新开始。