-
Notifications
You must be signed in to change notification settings - Fork 9
高版本jackson下无法使用 #86
Copy link
Copy link
Open
Description
初始化ZhipuAiClient会报错:
Class com.fasterxml.jackson.databind.PropertyNamingStrategy does not have member field 'com.fasterxml.jackson.databind.PropertyNamingStrategy SNAKE_CASE'
原因是sdk使用旧版本的jackson,新版jackson已经取消了这种用法。
当使用springboot3或4最新版时,无法创建ZhipuAiClient。
建议:
- 升级jackson,使用最新用法。
- 或者,把自由度留给开发这,sdk中jackson mapper创建要使用静态变量,提供一个override的public或protected方法来获取mapper,让用户可以自定义此mapper的创建。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels