首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >找不到GWTP引导程序实现

找不到GWTP引导程序实现
EN

Stack Overflow用户
提问于 2014-12-23 01:05:15
回答 1查看 369关注 0票数 0

我在我的项目中使用GWTP(1.2),GWT 2.5.1。我有所有相关的gwt,gwtp,guice,gin等罐子。在我的类路径中。

在我的gwt xml模块中,我为bootstrap定义了以下内容

代码语言:javascript
复制
  <!-- 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编译过程中出现以下错误:

代码语言:javascript
复制
 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.
EN

回答 1

Stack Overflow用户

发布于 2015-01-27 11:32:41

您的.gwt.xml中似乎缺少一个<source path='[...]'/>条目,无法将com.example.client作为GWT源文件夹包含进来

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27607168

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档