Я только что попытался сделать этот тестовый пример , но я получаю ошибку компиляции.
Мой gwt.xml
довольно стандартный:
<inherits name="com.google.gwt.user.User"/>
<inherits name="com.google.gwt.user.theme.standard.Standard"/>
<inherits name='de.novanic.eventservice.GWTEventService' />
<entry-point class="com.mycompany.project.client.ImageViewer"/>
Мой компилятор выдает:
Модуль компиляции com.mycompany.project.ImageViewer
Проверка вновь скомпилированных модулей
[ERROR] Errors in 'file:/.../src/com/mycompany/project/client/
ImageViewer.java'
[ERROR] Line 82: No source code is available for type
com.mycompany.project.server.listener.MyListener; did you forget to
inherit a required module?
[ERROR] Line 83: No source code is available for type
com.mycompany.project.server.listener.MyEvent; did you forget to
inherit a required module? Finding entry point classes
[ERROR] Unable to find type 'com.mycompany.project.client.ImageViewer'
[ERROR] Hint: Previous compiler errors may have made this type unavailable
[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
Весь остальной кодточно так же, как в примере.Я действительно не понимаю, что является причиной ошибки.