You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
the generated JacksonJsonProvider generated with jaxrs-jersey and useJakartaEe=true does not compile: JacksonJsonProvider.java:[17,8] cannot access javax.ws.rs.ext.MessageBodyReader class file for javax.ws.rs.ext.MessageBodyReader not found
adding the dependency for javax.ws.rs.ext.MessageBodyReader results in: Bootstrap.java:[29,51] incompatible types: jakarta.servlet.ServletConfig cannot be converted to javax.servlet.ServletConfig
looks like the generator should import com.fasterxml.jackson.jakarta.rs.json.JacksonXmlBindJsonProvider from jackson-jakarta-rs-json-provider when useJakartaEe=true .
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
the generated JacksonJsonProvider generated with jaxrs-jersey and useJakartaEe=true does not compile:
JacksonJsonProvider.java:[17,8] cannot access javax.ws.rs.ext.MessageBodyReader class file for javax.ws.rs.ext.MessageBodyReader not found
adding the dependency for
javax.ws.rs.ext.MessageBodyReader
results in:Bootstrap.java:[29,51] incompatible types: jakarta.servlet.ServletConfig cannot be converted to javax.servlet.ServletConfig
openapi-generator version
6.6.0 (openapi-generator-maven-plugin)
Generation Details
Steps to reproduce
generate with maven. snippet from pom:
looks like the generator should import com.fasterxml.jackson.jakarta.rs.json.JacksonXmlBindJsonProvider from jackson-jakarta-rs-json-provider when useJakartaEe=true .
The text was updated successfully, but these errors were encountered: