ClassCastException on JAXBContext while using hibernate JPA metamodel generator

Note: I have created a jira-issue + PR for hibernate: https://hibernate.atlassian.net/browse/HHH-13794I have also created an issue at the jakarta jaxb-api github: https://github.com/eclipse-ee4j/jaxb-api/issues/121 While trying to set up the hibernate JPA metamodel generator for a hobby project it failed with very little explanation. For context, I am invoking the JPA metamodel generator through the maven processorContinue reading ClassCastException on JAXBContext while using hibernate JPA metamodel generator