I am building GWT application by Maven.
When compiling get the following message:
Validating newly compiled units
At first there is this warning:
[WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts
Then there is this error:
[ERROR] Line 19: No source code is available for type org.apache.commons.lang.StringUtils did you forget to inherit a required module?
Despite this build does not fall and Dev mode works properly. How can I get rid of these error messages?
Perhaps a reason is in your module file. You should to identify packages that is to be compiled. This is configured in .gwt.xml
module.
<source path="packagename">
And GWT compiler will compile packages gwtxmlmodulepath.packagename.
See more
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With