I use Eclipse to develop my REST server, and GWT client in one project. To build this project I use Maven. Server side code is developed in Spring Framework and everything I configure using Java instead of XML files, so I don't have any web.xml file.
To compile project I have in maven pom.xml special entry as follow:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
Application (Spring server side and GWT client side) compiles and works as supposed. There is no problem, beside Eclipse, which point me out that I don't have web.xml file. Here is whole Eclipse error information:
Description | Resource | Path | Location | Type
The web.xml file does not exist | WEB-INF | /cms/src/main/webapp | Unknown | Google Web App Problem

As You can see error comes from GWT Eclipse plugin. But this plugin doesn't know that I use GWT only for client, and it shouldn't report me that error.
I wonder can and how to turn it off.
To turn this check off: (in Eclipse) Window -> Preferences -> Google -> Errors/Warnings -> Project structure and SDKs -> Missing web.xml
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