microprofile.training: Java 14 to Java 15 Update and MP REST Client CXF to RESTEasy Migration 📎
--enable-preview
to Java 15, fixing Apache CXFs:
java.lang.IllegalAccessError: class org.apache.cxf.microprofile.client.MicroProfileClientProviderFactory$$Lambda$345/0x0000000800c309b0 tried to access protected method 'int org.apache.cxf.jaxrs.provider.ProviderFactory.compareCustomStatus(org.apache.cxf.jaxrs.model.ProviderInfo, org.apache.cxf.jaxrs.model.ProviderInfo)' (org.apache.cxf.microprofile.client.MicroProfileClientProviderFactory$$Lambda$345/0x0000000800c309b0 and org.apache.cxf.jaxrs.provider.ProviderFactory are in unnamed module of loader 'app'
A free bonus video from the microprofile.training video course:
Also checkout the corresponding repository: github.com/adambien/microprofile.training.