一、新建项目 我们新建一个Maven Project,菜单File -> new -> other Next,在新窗口中,选中第一个,打勾,再next。 二、修改pom文件 <project xmlns="http://maven