>升级Spring-Boot版本为2.1.4.RELEASE, 并修改相关配置

2.0.2
monkeyk7 2020-06-04 22:35:23 +08:00
parent 6ff51bad88
commit f63a28c676
4 changed files with 9 additions and 5 deletions

View File

@ -15,7 +15,7 @@ Base on Spring-Boot
<ol>
<li>JDK (1.8.0_40)</li>
<li>Servlet (3.1.0)</li>
<li>Spring Boot(2.0.2.RELEASE)</li>
<li>Spring Boot(2.1.4.RELEASE)</li>
</ol>
<h4>技术视频</h4>
<a href="http://list.youku.com/albumlist/show/id_51900110.html" target="_blank">http://list.youku.com/albumlist/show/id_51900110.html</a>
@ -172,6 +172,7 @@ Base on Spring-Boot
<ol>
<li><p><del>Fix CVE-2019-3778, use spring-security-oauth 2.3.5.RELEASE</del></p></li>
<li><p><del>解决数据库多条 access_token问题增加唯一约束</del></p></li>
<li><p><del>升级Spring-Boot版本为2.1.4.RELEASE</del></p></li>
</ol>
<br/>
</li>

View File

@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.2.RELEASE</version>
<version>2.1.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

View File

@ -4,8 +4,8 @@ spring.application.name=spring-oauth-server
#
# MySQL
#####################
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/oauth2_boot?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/oauth2_boot?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
spring.datasource.username=andaily
spring.datasource.password=andaily
#Datasource properties
@ -30,6 +30,9 @@ logging.level.root=INFO
# Support deploy to a servlet-container
spring.jmx.enabled=false
#
#
spring.main.allow-bean-definition-overriding=true
#
# Redis
#
#spring.redis.host=localhost

View File

@ -5,7 +5,7 @@ spring.application.name=spring-oauth-server
# MySQL
#####################
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/oauth2_boot_test?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8
spring.datasource.url=jdbc:mysql://localhost:3306/oauth2_boot_test?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
spring.datasource.username=andaily
spring.datasource.password=andaily
#Datasource properties