场景
创建maven项目后
pom.xml出现红色错误:
web.xml is missing and <failOnMissingWebXml> is set to true
并且WEB-INF下没有web.xml。
解决
右击项目--JavaEETools--GenerateDeploymentDescriptorStub
然后在webapp下会创建web.xml文件。
pom.xml不在出现红色错误。
Eclipse新建Maven项目web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
阅读 51
2023-03-13
创建maven项目后
pom.xml出现红色错误:
web.xml is missing and <failOnMissingWebXml> is set to true
并且WEB-INF下没有web.xml。
右击项目--JavaEETools--GenerateDeploymentDescriptorStub
然后在webapp下会创建web.xml文件。
pom.xml不在出现红色错误。
相关推荐
精彩评论(0)