最近新建springboot项目,pom.xml报错 web.xml is missing and <failOnMissingWebXml> is set to true
主要项目里没有web.xml,我们只需要配置下
| 1 2 3 4 5 6 7 |
|
忽略web.xml即可;
本文介绍了解决SpringBoot项目中pom.xml报错的方法。主要原因是项目缺失web.xml文件,通过调整maven-war-plugin插件配置,将failOnMissingWebXml设置为false,可以有效解决该问题。
最近新建springboot项目,pom.xml报错 web.xml is missing and <failOnMissingWebXml> is set to true
主要项目里没有web.xml,我们只需要配置下
| 1 2 3 4 5 6 7 |
|
忽略web.xml即可;
转载于:https://my.oschina.net/u/3004242/blog/1808987
1324

被折叠的 条评论
为什么被折叠?
