【问题标题】:ie6 wast not previously defined error in GWT 2.6.0/GXT2.5.1ie6 wast not previously defined 错误在 GWT 2.6.0/GXT2.5.1
【发布时间】:2014-03-03 19:22:47
【问题描述】:

使用 GWT 2.6.0 和 GXT 2.5.1 编译代码时出现以下错误。

Loading inherited module 'com.sencha.gxt.ui.GXT'L
    Loading inherited module 'com.sencha.gxt.data.Data'
        Loading inherited module 'com.sencha.gxt.core.Core'
            [ERROR] The value ie6 was not previously defined.
            [ERROR] Line 96: Unexpected exception while processing element 'set-property'

即使我们没有在 gxt.user.agent 中指定 ie6,我们仍然会得到错误:“[ERROR] The value ie6 was not previously defined。” 为什么 GXT 仍然尝试设置 ie6,尽管我们没有在 gxt.user.agent 中设置它?

有谁知道 Sencha 什么时候会发布一个新的 GXT 版本来解决这个问题?

【问题讨论】:

    标签: gwt gxt


    【解决方案1】:

    他们已经发布了一个测试版:https://www.sencha.com/blog/announcing-gxt-3.1-beta/

    ...或者您可以重新启用ie6 排列:

    <extend-property name="user.agent" value="ie6" />
    

    【讨论】:

    【解决方案2】:

    澄清两点,

    1. 如果使用 GXT-3.0.1 或更早版本 => 它仅与 GWT-2.5.1(或更早版本)兼容。
    2. 如果使用 GXT-3.1.0_Beta => 它仅与 GWT-2.6.0(或更高版本)兼容。

    否则编译/运行时会出现各种错误。

    【讨论】:

      猜你喜欢
      • 2022-12-02
      • 2020-12-03
      • 2020-11-07
      • 2022-11-27
      相关资源
      最近更新 更多