找不到GWTP Bootstrapper实现

时间:2014-12-22 17:05:15

标签: java gwt bootstrapper gwtp

我正在为我的项目使用GWTP(1.2),GWT 2.5.1。在我的课程中,我有所有相关的gwt,gwtp,guice,杜松子酒等罐子。

在我的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-&gt; example-&gt; client-&gt; 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.

1 个答案:

答案 0 :(得分:0)

好像你缺少.gwt.xml中的<source path='[...]'/>条目,要将com.example.client包含为GWT源文件夹