Spring Boot 启动错误:To display the conditions report re-run your application with 'debug' enable
这个错也折腾了我好久,醉胡总结就是mysql驱动版本问题。首先看看application.properties文件里查看mysql驱动正确的应该为:然后进入pom.xml看看导入到炸包版本<dependency><groupId>org.springframework.boot</groupId><artifactId>s...
·
这个错也折腾了我好久,醉胡总结就是mysql驱动版本问题。
首先看看application.properties文件里查看mysql驱动
正确的应该为:
然后进入pom.xml看看导入到炸包版本
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>2.0.4.RELEASE</version>
</dependency>
这里注意版本号 2.0.4.RELEASE 之前用的的2.1.3.RELEASE,版本过高。
下面为正确的炸包配置
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.0.4.RELEASE
0.0.1-SNAPSHOT
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId>
<version>1.4.0</version>
org.springframework.boot spring-boot-maven-plugin更多推荐
所有评论(0)