首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Google web工具包运行mvn包时出错

问Google web工具包运行mvn包时出错
EN

Stack Overflow用户
提问于 2019-04-24 17:55:28
回答 1查看 72关注 0票数 0

我有一个使用gwt编写的项目,在运行"mvn package“时出现以下错误:

代码语言:javascript
复制
[INFO] --- gwt-maven-plugin:1.0-rc-8:compile (default) @ Ifrs9-Web ---
[INFO] Compiling module iason.ifrs9.web.client.Ifrs9EntryPoint
[INFO]    Tracing compile failure path for type 'com.smartgwt.client.bean.types.EnumValueType'
[INFO]       [ERROR] Errors in 'jar:file:/C:/Users/andrea/.m2/repository/com/smartgwt/smartgwt/4.0/smartgwt-4.0.jar!/com/smartgwt/client/bean/types/EnumValueType.java'
[INFO]          [ERROR] Line 26: Name clash: The method registerValueType(Class<T>) of type EnumValueType<ValueType> has the same erasure as registerValueType(Class<T>) of type OtherValueType<ValueType> but does not hide it
[INFO]    Tracing compile failure path for type 'com.smartgwt.client.bean.types.JsoValueType'
[INFO]       [ERROR] Errors in 'jar:file:/C:/Users/andrea/.m2/repository/com/smartgwt/smartgwt/4.0/smartgwt-4.0.jar!/com/smartgwt/client/bean/types/JsoValueType.java'
[INFO]          [ERROR] Line 31: Name clash: The method registerValueType(Class<T>) of type JsoValueType<ValueType> has the same erasure as registerValueType(Class<T>) of type OtherValueType<ValueType> but does not hide it
[INFO]    Finding entry point classes
[INFO]       [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:15 min
[INFO] Finished at: 2019-04-24T11:47:23+02:00
[INFO] Final Memory: 20M/212M

你能帮我解决这个错误吗?

EN

回答 1

Stack Overflow用户

发布于 2019-04-24 18:45:24

这个问题已经在SmartGWT论坛上得到了回答:https://forums.smartclient.com/forum/smart-gwt-technical-q-a/30377-cannot-compile-smartgwt-4-0-with-gwt-2-6-and-jdk-1-7

升级到最新版本。可在此处获得的构建:https://www.smartclient.com/builds/index.jsp

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55827284

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档