问题
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.
回答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.
来源:https://stackoverflow.com/questions/51385888/why-i-am-getting-error-web-xml-is-missing-and-failonmissingwebxml-is-set-to-t