当前位置:网站首页>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;
}
边栏推荐
- OpenSCAP 简介
- Data middle office: six questions data middle office
- bash install. SH ******** error
- 容量调度绝对值配置队列使用与避坑
- idea根据数据库表生成实体类
- 19 fonctions de perte d'apprentissage profond
- YYGH-BUG-03
- Select trigger event from easyUI drop-down box
- socke. IO long connection enables push, version control, and real-time active user statistics
- 基本类型和包装类的区别
猜你喜欢

深度學習19種損失函數

Xcode13.3.1 项目执行pod install后报错

Shanghai Yuge ASR CAT1 4G module 2-way low power 4G application

Lombok @equalsandhashcode annotation how to make objects The equals () method compares only some attributes

Difficulty calculation of Ethereum classic

Binder interview: memory management unit

Independent station sellers are using the five e-mail marketing skills, do you know?

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance

5G网络整体架构

Valueerror: iterative over raw text documents expected, string object received
随机推荐
YYGH-BUG-03
Slow content advertising: the long-term principle of brand growth
Yolact++ Pytorch环境
Windows环境Redis使用AOF持久化,无法生成AOF文件,生成后无法加载AOF文件内容
bash install.sh ********错误
PKG package node project (express)
全球国家(和地区)信息JSON数据
SQL and list de duplication
The length of pytorch dataloader the difference between epoch and iteration
pkg打包node工程(express)
mysql常用函数
简单手写debounce函数
cocoapod中的第三方库怎么引用本地头文件
Use of JDBC
Ethereum Classic的难度计算|猿创征文
pytorch dataloader的长度 epoch与iteration的区别
Mosaic data enhanced mosaic
mac下安装多个版本php并且进行管理
pytorch详解
函数栈帧的创建和销毁