有关intellij idea的maven项目的问题

为什么maven项目的pom文件中加入war这句后,工程的web资源路径就会改变,体现在web文件夹的小地球图标会消失,该如何处理这个问题图片说明图片说明图片说明

intellij idea比较适合用gradle