java-在netbeans中构建项目时出现常春藤错误

我是常春藤新手,需要一些帮助来解决错误.当我尝试使用netbeans构建项目时,出现以下错误:

confs: [compile, runtime, compile-test, runtime-test]
C:\Users\Tejas\Documents\NetBeansProjects\LaitsV3\Laitsv3second\nbproject\ivy-impl.xml:92: impossible to resolve dependencies:

java.io.FileNotFoundException: C:\Users\Tejas\.netbeans\7.1.1\modules\ext\ivy-2.1.0.jar\cache\resolved-Laitsv3second-Laitsv3second-1.0.xml (The system cannot find the path specified)

当ivy从ivy.xml文件的info标记中拾取此Laitsv3second-Laitsv3second-1.0时,如下所示:

<ivy-module version="2.0">
    <info organisation="Laitsv3second" module="Laitsv3second" revision="1.0" />

有人可以帮助我确定这个问题吗?或任何寻求帮助的指针?

解决方法:

我通过在ivysetting中添加以下内容来解决此错误

<property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" />
    <caches resolutionCacheDir="${user.home}/.ivy2/cache" defaultCacheDir="${user.home}/.ivy2/cache"/>

这样,它将尝试在指定目录中查找缓存.否则,它将尝试在ivy.jar文件中查找缓存.这听起来可能很愚蠢,但事实就是如此.
这是与ivvybeans论坛上报告的问题相同的问题,但尚未解决. https://code.google.com/p/ivybeans/issues/detail?id=103

上一篇:适用于PHP的Netbeans 7.4上的“请勿直接访问Superglobal $_SERVER阵列”


下一篇:php-Netbeans中的Yii框架-未出现对象方法自动完成