1. 正常创建一个maven项目,不进行任何勾选 2. 右击项目名称,选择add framwork support 3.选择Web Application 此时项目列表中出现web文件夹,并且有蓝色的点