我使用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有谁有提示该怎么做吗?
发布于 2015-01-06 22:49:40
这两个版本必须一起使用- 3.1.0-beta版本的构建器不能运行除3.1.0-beta版本以外的任何版本的gxt。使用与您正在使用的gxt版本相同的主题构建器版本重新生成主题。
总的来说,版本没有那么严格--例如,3.1.0和3.1.1应该是兼容的(尽管我不能保证这是100%的兼容,因为这两个版本之间可能存在一些奇怪的行为),但是-beta版本是测试版-它有bug,有时需要在测试版之后和最终发布之前进行破坏性的更改。
https://stackoverflow.com/questions/27798837
复制相似问题