我在我的项目中使用GWTP(1.2),GWT 2.5.1。我有所有相关的gwt,gwtp,guice,gin等罐子。在我的类路径中。
在我的gwt xml模块中,我为bootstrap定义了以下内容
<!-- GWTP -->
<inherits name='com.gwtplatform.mvp.MvpWithEntryPoint' />
<set-configuration-property name="gwtp.bootstrapper"
value="com.example.client.gin.BootstrapperImpl"/>
<!-- Default GIN Module -->
<set-configuration-property name="gin.ginjector.modules"
value="com.example.client.gin.ClientModule" />我在正确的文件夹结构中包含了BootstrapperImpl和ClientModule类(com->example->client->gin),但在GWT编译过程中出现以下错误:
Computing all possible rebind results for 'com.gwtplatform.mvp.client.ApplicationController'
Rebinding com.gwtplatform.mvp.client.ApplicationController
Invoking generator com.gwtplatform.mvp.rebind.ApplicationControllerGenerator
[ERROR] The type 'com.example.client.gin.BootstrapperImpl' was not found.发布于 2015-01-27 11:32:41
您的.gwt.xml中似乎缺少一个<source path='[...]'/>条目,无法将com.example.client作为GWT源文件夹包含进来
https://stackoverflow.com/questions/27607168
复制相似问题