gwt-eclipse-plugin
gwt-eclipse-plugin copied to clipboard
Get rid of error: “The web.xml file does not exist”
How to get rid of “The web.xml file does not exist” error in Eclipse from GWT Plugin?
I use spring as a backend, which is allowed by GWT. GWT is client side framework. I configure my spring using java config instead of xml's files, so I don't have and I wouldn't have web.xml file. IMHO plugin should not demand this file on project, or should allow to set in configuration to not use web.xml.
Here http://docs.spring.io/autorepo/docs/spring-framework/3.1.x/javadoc-api/org/springframework/web/WebApplicationInitializer.html is spring documentation about java config
Here is post on stackoverflow: https://stackoverflow.com/questions/35332574/how-to-get-rid-of-the-web-xml-file-does-not-exist-error-in-eclipse-from-gwt-pl
Change web.xml check to "ignore" option. In Eclipse: Window -> Preferences -> Google -> Errors/Warnings -> Project structure and SDKs -> Missing web.xml
Good answer. Thanks, but It is ide level configuration. It should be configured on project level (Project specific settings)
Thanks for reporting.
I could use a test project so I can verify how to define the logic. Do you have any archetypes that would work for generating such a project?