首页 > 代码库 > maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true 错误

maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true 错误

提示web.xml is missing and <failOnMissingWebXml> is set to true

右键点击项目 选择Java EE Tools——>Generate Deployment Descriptor Stub.然后系统会在src/main/webapp/WEB_INF文件加下创建web.xml文件。错误解决!

maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true 错误