【问题标题】:Deferred binding failed error when adding presenter with GWT Platform使用 GWT 平台添加演示者时出现延迟绑定失败错误
【发布时间】:2012-04-04 17:25:09
【问题描述】:

我不确定为什么会出现此错误:

原因:java.lang.RuntimeException:延迟绑定失败 'com.mygwt.client.core.FrameView$Binder'(你忘了继承一个 需要的模块?)

虽然 View 和 Presenter java 文件的代码模式与我的代码中的工作 Views 和 Presenter 相同。

【问题讨论】:

标签: gwt gwt-platform


【解决方案1】:

您的客户端代码正在使用外部 JAR,它们需要在 GWT 的主模块中继承

您需要在 gwt.xml 中为此 API 添加条目

<inherits name='com.mygwt.client.core' />

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-08-09
    • 2014-12-17
    • 1970-01-01
    • 2013-08-06
    • 1970-01-01
    • 1970-01-01
    • 2012-05-12
    • 1970-01-01
    相关资源
    最近更新 更多