1、选择File -> othe 或者 ctrl+N




2、这时候打开项目 下图

右键项目 BuildPath -> Configure Buil Path


这时候发现test下少一个resources 点击项目右键new - > source folder

将MVN项目装换为Dynamic web module
选择项目 右键->Properties


启动运行

1、选择File -> othe 或者 ctrl+N
2、这时候打开项目 下图
右键项目 BuildPath -> Configure Buil Path |