Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
I am trying to use portable extension to get working CDI 1.2 and CXF 3.0.2 on Apache Karaf. I wrapped it into OSGi bundle. I installed to my container also:
- weld 2.1.1
- pax-cdi-1.2
- pax-cdi-1.2-web
- pax-cdi-web-weld
My JAXRS resources are not found by extension because some line from class *JAXRSCdiResourceExtension* returns false even annotated element contains proper annotation but as a proxy (see attachment image / screenshot from debugger).
if (event.getAnnotated().isAnnotationPresent(ApplicationPath.class)) {
It would be nice, to tell me how to get it working. I also tested CDI-1.1. Same situation.