我已经从Peter的这篇文章中安装了插件 http://www.cacoethes.co.uk/blog/groovyandgrails/the-command-pattern-w ....
编译时它无法找到模块文件 存在于插件中。由于模块没有jar文件, 你能告诉我我在这里失踪了吗?
堆栈跟踪如下:
[java] Loading inherited module 'grails.plugins.gwt.Grails'
[java] [ERROR] Unable to find 'grails/plugins/gwt/Grails.gwt.xml' on your classpath; could be a typo, or maybe you forgot to incl
用于源的类路径条目? [java] [ERROR]第12行:处理元素'inherits'时出现意外异常 [java] com.google.gwt.core.ext.UnableToCompleteException :(参见前面的日志条目)
答案 0 :(得分:0)
Hey Satya,我在使用其他grails插件时遇到了类路径错误的类似问题。
我发现有时需要手动将工件从(用户主目录)/ .grails /(grails-version)/ plugins /(plugin-name)复制到我的grails项目中的lib /目录中。
在这种情况下,您可以尝试将src / gwt(从grails-gwt-0.5-SNAPSHOT.zip)复制到lib / gwt中?或者尝试复制它以匹配grails / plugins / gwt / Grails.gwt.xml?