Spring MVC项目创建把没用的文件删掉添加依赖 <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc --> <dependency>