Ошибка веб-инструментария Google при запуске пакета mvn - PullRequest
0 голосов
/ 24 апреля 2019

У меня есть проект, написанный с использованием 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

Не могли бы вы помочь мне решить эту ошибку?

1 Ответ

1 голос
/ 24 апреля 2019

На форум 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

...