一、报错内容
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-02-21 22:50:56.088 ERROR 13164 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
二、报错原因
多导入spring-boot-devtools包。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency
三、解决方法
将多导入的spring-boot-devtools配置删除或者注释掉。