在不同的Grails插件之间共享GWT模块

在不同的Grails插件之间共享GWT模块,gwt,grails,plugins,module,share,Gwt,Grails,Plugins,Module,Share,我在不同的帖子中看到了如何在不同的项目中共享GWT模块 例如。 我的情况更具体一些,因为我有两个Grails+GWT插件:projectA和projectB Loading inherited module '<qualified module name>' | [ERROR] Unable to find '<qualified module name>' on your classpath; could be a typo, or maybe you fo

我在不同的帖子中看到了如何在不同的项目中共享GWT模块

例如。

我的情况更具体一些,因为我有两个Grails+GWT插件:projectAprojectB

Loading inherited module '<qualified module name>'
  |    [ERROR] Unable to find '<qualified module name>' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
  | [ERROR] Line 16: Unexpected exception while processing element 'inherits'
projectA包含src/java中的javabean,它们在Grails服务以及src/gwt代码中都使用。我已经定义了一个module.gwt.xml,其中包含指向java bean的路径,我的主模块(EntryPoint.gwt.xml)继承了该路径。这适用于项目A

Loading inherited module '<qualified module name>'
  |    [ERROR] Unable to find '<qualified module name>' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
  | [ERROR] Line 16: Unexpected exception while processing element 'inherits'
我已经创建了projectB,我想在projectB的Grails服务和src/gwt代码中使用projectA中声明的javabean。我通过在projectB的BuildConfig.groovy中添加grails.plugin.location.projectA'=来共享服务的Javabean。但是,当我在projectB的主模块(EntryPoint.gwt.xml)中添加a时,我在projectB中编译gwt模块时出现以下错误

Loading inherited module '<qualified module name>'
  |    [ERROR] Unable to find '<qualified module name>' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
  | [ERROR] Line 16: Unexpected exception while processing element 'inherits'
加载继承的模块“”
|[错误]在类路径上找不到“”;可能是输入错误,也可能是您忘了为源代码包含类路径条目?
|[错误]第16行:处理元素“继承”时出现意外异常

知道如何解决这个问题吗?

在BuildConfig.groovy中添加以下属性解决了我的问题

gwt.plugins=[“/插件名称/”]