Sencha GXT主题版3.1.0 Beta不适用于Sencha Gxt 3.1.0

时间:2015-01-06 12:35:48

标签: java gwt extjs themes gxt

我使用Sencha GXT 3.1.0-Beta的主题构建器构建了一个主题。如果我在我的应用程序中使用Sencha GXT 3.1.0-Beta,它的效果很好,但是如果我使用Sencha GXT 3.1.0它就不再适用了。

我收到以下错误:

[INFO]    [ERROR] Errors in jar:file:/D:/maven/repository/de/company/theme-0.0.1.jar!/de/company/theme/client/base/toolbar/Css3ToolBarAppearance.java'
[INFO]    [ERROR] Line 20: The type Css3ToolBarAppearance must implement the inherited abstract method BoxLayoutContainer.BoxLayoutContainerAppearance.render(SafeHtmlBuilder)
[INFO]    [ERROR] Line 20: The type Css3ToolBarAppearance must implement the inherited abstract method HBoxLayoutContainer.HBoxLayoutContainerAppearance.moreIcon()
[INFO]    [ERROR] Line 20: The type Css3ToolBarAppearance must implement the inherited abstract method HBoxLayoutContainer.HBoxLayoutContainerAppearance.moreButtonStyle()
[INFO]    [ERROR] Errors in 'com/sencha/gxt/widget/core/client/toolbar/ToolBar.java'
[INFO]    [ERROR] Line 39: Rebind result 'de.company.theme.client.base.toolbar.Css3ToolBarAppearance' could not be found
[INFO]    [ERROR] Errors in 'jar:file:/D:/maven/repository/de/company/0.0.1/theme-0.0.1.jar!/de/company/theme/client/base/Css3ThemeAppearance.java'
[INFO]    [ERROR] Line 58: The method moreIcon() of type Css3ThemeAppearance must override or implement a supertype method
[INFO]    [ERROR] Errors in 'com/sencha/gxt/core/client/resources/ThemeStyles.java'
[INFO]    [ERROR] Line 29: Rebind result 'de.company.theme.client.base.Css3ThemeAppearance' could not be found
[INFO]    [ERROR] Errors in 'com/sencha/gxt/widget/core/client/toolbar/PagingToolBar.java'
[INFO]    [ERROR] Line 217: Rebind result 'de.company.client.base.toolbar.Css3ToolBarAppearance' could not be found

有人有提示做什么吗?

1 个答案:

答案 0 :(得分:0)

版本必须一起使用 - 主题制作者的3.1.0-beta无法使用3.1.0-beta以外的任何版本的gxt。使用与您正在使用的gxt版本相同的主题版本重新生成主题。

总的来说,版本并没有那么严格 - 例如3.1.0和3.1.1应该是兼容的(虽然我不能保证这是100%所以,因为一些行为的怪癖可能依赖于这些版本),但-beta版本是一个测试版 - 它有错误,有时需要在测试版之后和最终版本发布之前进行更改。