【问题标题】:Google web toolkit error running mvn package运行 mvn 包的 Google Web 工具包错误
【发布时间】:2019-04-24 21:00:07
【问题描述】:

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

[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

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

【问题讨论】:

    标签: gwt smartgwt


    【解决方案1】:

    【讨论】:

    • 在哪里可以找到 maven 存储库来下载依赖项?
    • 不知道,去samrtgwt论坛问问。您还可以下载并配置 maven 以使用该本地库。
    猜你喜欢
    • 1970-01-01
    • 2012-03-22
    • 2015-01-21
    • 2013-12-09
    • 1970-01-01
    • 1970-01-01
    • 2021-07-11
    • 2017-11-16
    • 2012-09-08
    相关资源
    最近更新 更多