Upgrade Spring Boot from 2.5.15 to 2.7.18
- Upgrade spring-boot.version to 2.7.18 (latest 2.7.x LTS release)
- Add explicit mysql-connector-java version management (8.0.33) as it's
no longer managed by Spring Boot 2.7.x BOM
- Update spring-boot-maven-plugin to use ${spring-boot.version} property
- Add spring.mvc.pathmatch.matching-strategy=ant_path_matcher to resolve
Springfox 3.0.0 compatibility issue with Spring Boot 2.7.x path matching
This commit is contained in:
parent
94e558ea4a
commit
f46200bf83
10
pom.xml
10
pom.xml
|
|
@ -17,13 +17,14 @@
|
|||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
||||
<spring-boot.version>2.5.15</spring-boot.version>
|
||||
<spring-boot.version>2.7.18</spring-boot.version>
|
||||
<shiro.version>1.13.0</shiro.version>
|
||||
<thymeleaf.extras.shiro.version>2.1.0</thymeleaf.extras.shiro.version>
|
||||
<druid.version>1.2.28</druid.version>
|
||||
<yauaa.version>7.32.0</yauaa.version>
|
||||
<kaptcha.version>2.3.3</kaptcha.version>
|
||||
<swagger.version>3.0.0</swagger.version>
|
||||
<mysql.version>8.0.33</mysql.version>
|
||||
<pagehelper.boot.version>1.4.7</pagehelper.boot.version>
|
||||
<fastjson.version>1.2.83</fastjson.version>
|
||||
<oshi.version>6.10.0</oshi.version>
|
||||
|
|
@ -166,6 +167,13 @@
|
|||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- MySQL驱动 -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>${mysql.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- io常用工具类 -->
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>2.5.15</version>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<fork>true</fork>
|
||||
</configuration>
|
||||
|
|
|
|||
|
|
@ -67,6 +67,10 @@ spring:
|
|||
max-file-size: 10MB
|
||||
# 设置总上传的文件大小
|
||||
max-request-size: 20MB
|
||||
mvc:
|
||||
# 解决 Springfox 与 Spring Boot 2.7.x 的兼容性问题
|
||||
pathmatch:
|
||||
matching-strategy: ant_path_matcher
|
||||
|
||||
# MyBatis
|
||||
mybatis:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user