1

Why I am getting error "web.xml is missing and <failOnMissingWebXml> is set to true" even when web.xml is present under WEB-INF?

This is not duplicate of this question. My issue is different as I already have web.xml file in my WEB-INF folder, but still getting the error.

Alex R
  • 11,364
  • 15
  • 100
  • 180
Ravi K M
  • 77
  • 4
  • 16
  • 2
    Possible duplicate of [web.xml is missing and is set to true](https://stackoverflow.com/questions/31835033/web-xml-is-missing-and-failonmissingwebxml-is-set-to-true) – sauumum Jul 17 '18 at 16:07
  • totally different question, not a duplicate. – Alex R Aug 28 '18 at 04:36

1 Answers1

1

You may have a corrupted Eclipse-specific settings file.

Check out the answer to Spring cannot find file in classpath, but it's right there at the root of the war file.

For me, both problems had the same root cause.

Alex R
  • 11,364
  • 15
  • 100
  • 180