(1)在控制器中,您不需要这样做
return "###";
(2)移除
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>4.3.7.RELEASE</version></dependency>
因为里面
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency>
已经包括
spring-web依赖性。



