当前位置:网站首页>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;
}
边栏推荐
- Difficulty calculation of Ethereum classic
- 重载,重写的区别,抽象类,接口的区别
- MySQL common functions
- Object object to list collection
- Flink window mechanism (two waits and the last explanation)
- Alibaba cloud SMS service (Complete Guide), SMS sending function implementation.
- No one can only use foreach to traverse arrays, right?
- 移动广告发展动向:撬动存量,精细营销
- Idea automatically adds comments when creating classes
- 简单手写debounce函数
猜你喜欢

Valueerror: iterative over raw text documents expected, string object received

socke.io長連接實現推送、版本控制、實時活躍用戶量統計

At first glance, I can see several methods used by motionlayout

Example of MVVM framework based on kotlin+jetpack

Jenkins持续集成1

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

The windows environment redis uses AOF persistence and cannot generate an AOF file. After generation, the content of the AOF file cannot be loaded
![RL practice (0) - and the platform xinchou winter season [rule based policy]](/img/dc/10d615c64123475fea180e035095ff.png)
RL practice (0) - and the platform xinchou winter season [rule based policy]

Socket. Io long Connection Push, version Control, Real - Time Active user volume Statistics

Filecoin hacker song developer competition
随机推荐
Binder interview: memory management unit
How popular are FB and WhatsApp mass messages in 2022?
Data middle office: an article that takes you to understand data middle office in simple terms
猿粉猿动力-开发者活动袭!
death_ satan/hyperf-validate
Taobao seo training video course [22 lectures]
File foundation - read / write, storage
Main functions of 5ggnb and ng ENB
开发者的时代红利在哪里?
EasyUI reset multi condition query
A full set of excellent SEO tutorials worth 300 yuan [159 lessons]
Mosaic data enhanced mosaic
Jenkins continuous integration 1
Scripting and programming languages
【无标题】
Configure multiple database connections using the SSM framework
Oracle condition, circular statement
socke.io長連接實現推送、版本控制、實時活躍用戶量統計
cocoapod中的第三方库怎么引用本地头文件
Data midrange: implementation and summary of AI midrange