备忘录-maven-那些年踩过的坑

创建maven的war项目,pom文件会报错,错误信息: web.xml is missing and <failOnMissingWebXml> is set to true 解决方案: 在项目上右击->属性,输入:project facets 按照前4步操作,会出现弹窗,第二个文本框content directory 内容修改为 src/main/webapp 点击apply,关闭,即可看到p
相关文章
相关标签/搜索