GWT 2.6 with GXT-3.0.1 error in compile

后端 未结 1 1124
不思量自难忘°
不思量自难忘° 2021-01-13 09:33

since the 2.6.0 release of GWT which dropped support of ie6 browser my current project which also uses GXT is failing to compile with the following error:

Lo         


        
相关标签:
1条回答
  • 2021-01-13 10:20

    GWT 2.6.0 has several breaking changes over GWT 2.4.0 and 2.5.1 - these don't affect all libraries, but they do affect both GXT 2 and 3. Code changes in GWT 2.6.0 that break libraries like GXT include:

    • Changing permutations (ie6 and opera are gone, ie10 was added, note that newer versions of opera are webkit based and do not need their own permutation)
    • Element added new final methods hasClassName and toggleClassName that can't compiled with XElement methods of the same name
    • String utils methods removed, switched to newer version of Guava (which now uses those methods)

    Saw an upvote, so I know this is still getting readers months later, so editing this to point out that GXT 3.1.0 is in maven central and supports GWT 2.6.0, 2.6.1, and as of Friday anyway, supports GWT 2.7.0-SNAPSHOT. I can't promise it is totally future-proof, but as long no public methods in GWT change, it isn't likely to break again in the GWT 2.7 series.

    0 讨论(0)
提交回复
热议问题