The usage of classes within the JAX-RS applications is implementation specific. Since CDI integration is per implementation (and not spec mandated), some JAX-RS runtimes (e.g. CXF) treat this as non-CDI aware classes.
I would suggest removing the getClasses() methods in both application classes.
The usage of classes within the JAX-RS applications is implementation specific. Since CDI integration is per implementation (and not spec mandated), some JAX-RS runtimes (e.g. CXF) treat this as non-CDI aware classes.
I would suggest removing the
getClasses()
methods in both application classes.