and the application runs.
and the compilation fails.
When I update gwt-maven-plugin to point to GWT 2.4 I get exactly the same compilation error.
Are the errors related to GWT compiler not understanding maven directory structure? How these errors can be fixed? Thank you for your help!
[INFO] Compiling module org.example.gwt.MyGwt
[INFO] Validating newly compiled units
[INFO] [ERROR] Errors in 'file:/home/.../workspace/mygwt/src/main/java/org/example/gwt/client/MyGwt.java'
[INFO] [ERROR] Line 35: GreetingServiceAsync cannot be resolved to a type
[INFO] [ERROR] Line 35: No source code is available for type GreetingServiceAsync; did you forget to inherit a required module?
[INFO] [ERROR] Line 35: The method create(Class<?>) from the type GWT refers to the missing type GreetingServiceAsync
[INFO] [ERROR] Line 37: Messages cannot be resolved to a type
[INFO] [ERROR] Line 37: No source code is available for type Messages; did you forget to inherit a required module?
[INFO] [ERROR] Line 37: The method create(Class<?>) from the type GWT refers to the missing type Messages
[INFO] [ERROR] Line 37: Messages cannot be resolved to a type
[INFO] [ERROR] Line 43: Messages cannot be resolved to a type
[INFO] [ERROR] Line 45: Messages cannot be resolved to a type
[INFO] [ERROR] Line 123: GreetingServiceAsync cannot be resolved to a type
[INFO] Finding entry point classes
[INFO] [ERROR] Unable to find type 'org.example.gwt.client.MyGwt'
[INFO] [ERROR] Hint: Previous compiler errors may have made this type unavailable
[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