After upgrading the version, I am getting java.lang.NoClassDefFoundError: org/springframework/hateoas/Identifiable exception when trying to call objectMapper.readValue method.
objectMapper.readValue(json, aClass);
aClass contains the following properties
private Links links; private Products products;
I think the problem with links properties. When I am trying to map the response with model class getting this error.
I am calling the some of the rest service with MediaType.valueOf("application/hal+json") and map with respective model class.
It worked with previous versions. Can you please guide?
I updated the spring boot version as 2.7.1 and Hateos as 1.5.1. Jackson-databind as 2.13.3
After upgrading the version, I am getting java.lang.NoClassDefFoundError: org/springframework/hateoas/Identifiable exception when trying to call objectMapper.readValue method.
objectMapper.readValue(json, aClass);
aClass contains the following properties
private Links links; private Products products;
I think the problem with links properties. When I am trying to map the response with model class getting this error.
I am calling the some of the rest service with MediaType.valueOf("application/hal+json") and map with respective model class.
It worked with previous versions. Can you please guide?