Grails更新依赖项:错误编译错误:启动失败|使用javac编译时编译错误

时间:2013-03-06 23:32:07

标签: grails workspace

我正在尝试运行grails 2.1.1网络应用。从SVN repo检出项目时,它会尝试执行更新依赖项并因以下错误而失败:

| Loading Grails 2.1.1
| Configuring classpath
| Error SLF4J: Class path contains multiple SLF4J bindings.
| Error SLF4J: Found binding in [jar:file:/Users/sm026588/.grails/ivy-cache/org.grails/grails-plugin-log4j/jars/grails-plugin-log4j-2.1.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: Found binding in [jar:file:/Users/sm026588/.grails/ivy-cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
| Error SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
| Configuring classpath.
| Environment set to development.....
| Compiling 45 source files.
| Error Compilation error: startup failed:
Compile error during compilation with javac.
error: error reading /Users/../.grails/ivy-cache/com....intent/intent-processing-protobuf/jars/intent-processing-protobuf-2.10.2.jar; cannot read zip file entry
1 error
1 error

我尝试删除jar并重新运行“刷新依赖项”,但没有用。试图查看jar文件是否可以解压缩,我可以成功解压缩,这告诉我jar没有损坏。在Mac OS X上尝试使用Eclipse Juno,STS和Eclipse Indigo,所有这些都会产生相同的错误。在这一点上已经停留了很长一段时间,任何帮助都会受到赞赏。

0 个答案:

没有答案