问题描述
使用GWT 2.6.0和GXT 2.5.1编译代码时出现以下错误。
加载继承模块'com.sencha.gxt.ui.GXT'L
加载继承模块'com.sencha.gxt.data.Data'
加载继承模块'com.sencha.gxt.core.Core'
[错误]值ie6以前未定义。
[错误]第96行:处理元素'set-property'时意外的异常
偶虽然我们没有在gxt.user.agent中指定ie6,但我们仍然得到以下错误:[ERROR] ie6的值未事先定义。
为什么GXT仍然尝试设置ie6,尽管我们没有在gxt.user.agent中设置它?
有人知道Sencha何时会发布新的GXT版本解决了这个问题吗?
他们已经发布了一个测试版:
...或者您可以重新启用 ie6
排列:
< extend-property name =user.agentvalue =ie6/>
I got the following error when compiling the code with GWT 2.6.0 and 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'
Even though we don't specify ie6 in gxt.user.agent, we still get the error: "[ERROR] The value ie6 was not previously defined." Why does GXT still try to set ie6 despite we don't set it in gxt.user.agent?
Does anyone know when Sencha will release a new GXT version that resolve this problem?
They released a beta already: https://www.sencha.com/blog/announcing-gxt-3.1-beta/
…or you could re-enable the ie6
permutation:
<extend-property name="user.agent" value="ie6" />
这篇关于ie6在GWT 2.6.0 / GXT2.5.1中没有预先定义的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!