我刚刚为Groovy下载了Spock框架,在阅读完README之后开始构建它没有成功。下载一些罐子有问题。 你有没有见过这样的东西,任何想法如何解决它?
~/spock-example-0.5-groovy-1.7$ ant clean test
Buildfile: /home/viking/spock-example-0.5-groovy-1.7/build.xml
clean:
bootstrap.maven.tasks:
[get] Getting: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.1.jar
[get] To: /home/viking/spock-example-0.5-groovy-1.7/ant/lib/maven-ant-tasks-2.1.1.jar
[get] Error opening connection java.io.FileNotFoundException: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.1.jar
[get] Error opening connection java.io.FileNotFoundException: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.1.jar
[get] Error opening connection java.io.FileNotFoundException: http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.1.jar
[get] Can't get http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.1.jar to /home/viking/spock-example-0.5-groovy-1.7/ant/lib/maven-ant-tasks-2.1.1.jar
BUILD FAILED
/home/viking/spock-example-0.5-groovy-1.7/build.xml:14: Can't get http://www.apache.org/dist/maven/binaries/maven-ant-tasks-2.1.1.jar to /home/viking/spock-example-0.5-groovy-1.7/ant/lib/maven-ant-tasks-2.1.1.jar
Total time: 0 seconds