Eclipse报错:pom.xml web.xml is missing and <fainOnMissingWebXml> is set to true

Solution:

Right-click the project ----- "Java EE Tools -----" Generate Deployment Descriptor Stub

Creates a web.xml file in src / main / webapp / WEB_INF (or Deployed Resources / webapp / WEB_INF) plus file under.

Error disappears!

Guess you like

Origin www.cnblogs.com/51ma/p/11325326.html
Recommended