ObjectMapper can't deserialize without default constructor after upgrade to Spring Boot 2

前端 未结 7 1627
予麋鹿
予麋鹿 2020-12-24 01:42

I have following DTOs:

@Value
public class PracticeResults {
    @NotNull
    Map wordAnswers;
}

@Value
public class ProfileMetaDto {

         


        
7条回答
  •  温柔的废话
    2020-12-24 01:46

    I have upgraded lombok version to : 'org.projectlombok:lombok:1.18.0' and it worked for me.

提交回复
热议问题