当前位置:网站首页>Caused by: com. fasterxml. jackson. databind. exc.InvalidDefinitionException: Cannot construct instance
Caused by: com. fasterxml. jackson. databind. exc.InvalidDefinitionException: Cannot construct instance
2022-06-28 06:02:00 【zhou_ zhao_ xu】
error message :
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `com.aliyun.bizworks.centers.user.businessdomain.identification.protocols.oidc.model.OidcProtocolAccessToken` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
at [Source: (byte[])"["com.aliyun.bizworks.centers.user.businessdomain.identification.protocols.oidc.model.OidcProtocolAccessToken",{"accessToken":"69O76SX7USMU","scope":"openid all","issuedAt":1653546793173,"expiresIn":6000}]"; line: 1, column: 113]
Error resolution :

@Data
@Builder
public class OidcProtocolAccessToken {
private String accessToken;
private String scope;
private Long issuedAt;
private Long expiresIn;
}
Cannot construct instance , There is no default build function , View entities , Provided only @Data
and @Builder, There is no default constructor
Use alone @Data annotation , Generate a parameterless constructor .
Use alone @Builder annotation , Generate a full attribute constructor .
@Data + @Builder annotation : There is no default parameterless constructor . Even if you add a parameterless constructor manually or use only @NoArgsConstructor Comments will report errors
terms of settlement :
Simultaneous addition @AllArgsConstructor and @NoArgsConstructor annotation
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OidcProtocolAccessToken {
private String accessToken;
private String scope;
private Long issuedAt;
private Long expiresIn;
}
边栏推荐
- idea根据数据库表生成实体类
- OpenSCAP 简介
- Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance
- Lenovo hybrid cloud Lenovo xcloud, new enterprise IT service portal
- Deep learning 19 loss functions
- pkg打包node工程(express)
- Data center: Seven Swords of data governance
- Important basis for ERP software company selection
- 阿里云短信服务(完整指南),短信发送功能实现。
- 5GgNB和ng-eNB的主要功能
猜你喜欢
![[CAD drawing Video] AutoCAD 2014 master's way](/img/19/7013333c028d7db02e356661b9ffc3.jpg)
[CAD drawing Video] AutoCAD 2014 master's way

YYGH-6-微信登录

Jenkins continues integration 2

socke. IO long connection enables push, version control, and real-time active user statistics

death_ satan/hyperf-validate

Difficulty calculation of Ethereum classic

6. 毕业设计温湿度监控系统(ESP8266 + DHT11 +OLED 实时上传温湿度数据给公网服务器并在OLED显示屏上显示实时温湿度)

High quality domestic stereo codec cjc8988, pin to pin replaces wm8988
![Video tutorial on website operation to achieve SEO operation [21 lectures]](/img/1f/9ae2ed5bfec5749c764630d1daccea.jpg)
Video tutorial on website operation to achieve SEO operation [21 lectures]

socke.io長連接實現推送、版本控制、實時活躍用戶量統計
随机推荐
Ape pink ape power - Developer activity attack!
Academic search related papers
Object object to list collection
Relevant implementation records of CSI and local disk
Differences between basic types and packaging classes
Simple handwritten debounce function
Independent station sellers are using the five e-mail marketing skills, do you know?
YYGH-BUG-02
高质量国产立体声编解码器CJC8988,Pin to Pin替代WM8988
全球国家(和地区)信息JSON数据
基于Kotlin+JetPack实现的MVVM框架的示例
Mosaic data enhanced mosaic
自定义 cube-ui 弹出框dialog支持多个且多种类型的input框
Object对象转 List集合
bash install.sh ********错误
Configure multiple database connections using the SSM framework
lombok @EqualsAndHashCode 注解如何让对象.equals()方法只比较部分属性
5g network overall architecture
6. graduation design temperature and humidity monitoring system (esp8266 + DHT11 +oled real-time upload temperature and humidity data to the public network server and display the real-time temperature
JSP