选中pom.xml文件,maven,import,相当于导入maven 选中整个java文件mark Directory as ,test sources root相当于编译 选中启动类运行启动类比其他类的目录高一级 修改默认maven位置apply,然后ok