File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -360,17 +360,17 @@ dependencies {
360
360
```
361
361
362
362
### 如何解决jackson兼容性问题
363
- 项目使用的jackson版本为 ` 2.12.5 ` ,同时引入该项目和版本低于 ` 2.5 .x ` 的SpringBoot会有jackson兼容性问题。推荐升级SpringBoot到版本 ` 2.5 .x ` 及以上 。如无法升级,可按照下述方式指定jackson版本 。
363
+ 项目升级了Jackson依赖,在代码中使用了版本高于 ` 2.11 ` 的API。当其他组件引用低版本的Jackson时会导致依赖冲突,例如版本低于 ` 2.3 .x ` 的SpringBoot。 [ 官方已不再维护版本低于 ` 2.3 .x ` 的SpringBoot ] ( https://spring.io/projects/spring-boot#support ) ,推荐升级 。如无法升级,可按照下述方式指定Jackson版本 。
364
364
#### gradle
365
365
``` groovy
366
- implementation('com.fasterxml.jackson.core:jackson-databind') {
367
- version {
368
- strictly '2.12.5'
369
- }
370
- }
366
+ implementation('com.fasterxml.jackson.core:jackson-databind') {
367
+ version {
368
+ strictly '2.12.5'
369
+ }
370
+ }
371
371
```
372
372
#### maven
373
- ``` groovy
373
+ ``` xml
374
374
<dependencyManagement >
375
375
<dependencies >
376
376
<dependency >
@@ -381,7 +381,6 @@ dependencies {
381
381
</dependencies >
382
382
</dependencyManagement >
383
383
```
384
-
385
384
### 更多常见问题
386
385
387
386
请看商户平台的[ 常见问题] ( https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay7_0.shtml ) ,或者[ 这里] ( https://wechatpay-api.gitbook.io/wechatpay-api-v3/chang-jian-wen-ti ) 。
You can’t perform that action at this time.
0 commit comments