How would you get the MP endpoint classes added from TomEEMicroProfileListener#processApplication? RESTService#afterApplicationCreated ignores restClass completely if the Application sub-class getClasses/getSingletons return something - that's the problem. Is there another mechanism for adding that isn't ignored for the "extends Application class" scenario?
There is also definitely more than one issue here. Once I got past the issue with the openapi endpoints missing (with my approach above - just to test, not submitting PR for it at this point) it succeeded but the next test's issue is it cannot create the TomeeJaxRsService at all. SEVERE [http-nio-50290-exec-3] org.apache.openejb.observer.ObserverManager$MethodInvocation.invoke error invoking org.apache.tomee.webservices.TomeeJaxRsService@7b7fdc8 org.apache.cxf.service.factory.ServiceConstructionException at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:225) Looks similar to the issue when openapi was causing an exception creating the rest api. -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html