Im facing cannot access javax.ws.rs.ext.MessageBodyReader while upgrading to spring 6. Im using glassfish jersey 3.1.0 for REST services in spring 6 application and com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider 2.14.1.
Im facing this compilation error while calling JacksonJsonProvider.setMapper()
i cant able to figure out how to solve this issue.
I have solved this issue by replacing
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
with
<groupId>com.fasterxml.jackson.jakarta.rs</groupId>
<artifactId>jackson-jakarta-rs-json-provider</artifactId>