File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,28 @@ dependencies {
359
359
}
360
360
```
361
361
362
+ ### 如何解决jackson兼容性问题
363
+ 项目升级了Jackson依赖,在代码中使用了版本>=` 2.11 ` 的API。当其他组件引用低版本的Jackson时会导致依赖冲突,例如版本<` 2.3.x ` 的SpringBoot。[ 官方已不再维护版本<` 2.3.x ` 的SpringBoot] ( https://spring.io/projects/spring-boot#support ) ,推荐升级。如无法升级,可按照下述方式指定Jackson版本。
364
+ #### Gradle
365
+ ``` groovy
366
+ implementation('com.fasterxml.jackson.core:jackson-databind') {
367
+ version {
368
+ strictly '2.12.5'
369
+ }
370
+ }
371
+ ```
372
+ #### Maven
373
+ ``` xml
374
+ <dependencyManagement >
375
+ <dependencies >
376
+ <dependency >
377
+ <groupId >com.fasterxml.jackson.core</groupId >
378
+ <artifactId >jackson-databind</artifactId >
379
+ <version >2.12.5</version >
380
+ </dependency >
381
+ </dependencies >
382
+ </dependencyManagement >
383
+ ```
362
384
### 更多常见问题
363
385
364
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