我正在尝试运行一个使用sbt构建的scala的开源项目。Scala sbt找不到commons-logging-1.0.4.jar
我下载了sbt并设置了它。但是当我尝试从命令行运行sbt时,出现以下错误。
:: problems summary :: :::: WARNINGS [NOT FOUND ] commons-logging#commons-logging;1.0.4!commons-logging.jar (1ms)
==== Maven2 Local: tried
file:///Users/jeremy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
:::::::::::::::::::::::::::::::::::::::::::::: :: FAILED DOWNLOADS :: ::^see resolution messages for details^:: :::::::::::::::::::::::::::::::::::::::::::::: :: commons-logging#commons-logging;1.0.4!commons-logging.jar ::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS download failed: commons-logging#commons-logging;1.0.4!commons-logging.jar Error during sbt execution: Error retrieving required libraries (see /Users/jeremy/sourceCode/public/scalaConsole/project/boot/update.log for complete log) Error: Could not retrieve sbt 0.10.1
关于如何解决这个问题的任何想法。
我有斯卡拉2.9.1和SBT版本0.10.1
感谢
Update.log中的内容是什么? –
我已经手动从maven仓库中取出该文件,现在它似乎可以正常工作。我不知道为什么它不能得到它。因为我已经拉过那个文件,所以我的update.log文件不再出现这个错误。 – fohtoh
然后可能再次删除该文件... – soc