Java 1.6
版 Grails 2.0.0 版
当我执行 grails clean 我得到
Error executing script Clean: org.codehaus.gant.GantBuilder (Use --stacktrace to see the full trace)
C:\projects\botServices>grails --stacktrace clean
| Configuring classpath
| Error Error executing script Clean: org.codehaus.gant.GantBuilder (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
java.lang.NoClassDefFoundError: org.codehaus.gant.GantBuilder
at org.codehaus.gant.GantBinding.class$(GantBinding.groovy)
at org.codehaus.gant.GantBinding.$get$$class$org$codehaus$gant$GantBuilder(GantBinding.groovy)
at org.codehaus.gant.GantBinding.<init>(GantBinding.groovy:41)
| Error Error executing script Clean: org.codehaus.gant.GantBuilder
我以前从未遇到过这个问题。奇怪的。
感谢你的帮助