gwt-plugins / gwt-plugins/gwt-eclipse-plugin

Get rid of error: “The web.xml file does not exist”

Open
#145 4 comments 0 reactions 0 assignees View on GitHub
Info
Dominant language
Java
Stars
117
Forks
49
PR merge metrics
No merged PRs in 30d

Description

How to get rid of “The web.xml file does not exist” error in Eclipse from GWT Plugin?
![vwrou](https://cloud.githubusercontent.com/assets/1161910/16648208/3613a89a-4433-11e6-93a8-f1f3b35bc254.png)

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the GWT Eclipse Plugin project and reproduce the “The web.xml file does not exist” error shown in the screenshot for a Spring project using Java configuration. Read the linked Spring WebApplicationInitializer documentation and issue details; done means Java-configured projects no longer produce this error or can explicitly configure that web.xml is not used.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.