使用tomcat插件运行maven项目 步骤: (1)修改pom.xml配置,添加一下代码: <!--指定编译版本 --> <plugin> <groupId>org.apache.maven.plugins</groupId>