Below is the way to resolve this issue in weblogic 12c and cxf  3.x and
jax-rs 2.x

            Add below entries in weblogic application xml. This will avoid
weblogic to by default start jersey in case web.xml contains 3.0 xsd and
jax-rs is being used by application. weblogic jersey-core-1.18.jar has
meta-inf/services folder.

            <wls:prefer-application-resources>
        <wls:resource-name>META-INF/services/*</wls:resource-name>
        </wls:prefer-application-resources>

             Weblogic 12c contain jersey 1.1.8 jar which is having JAX-RS
1.1 spec. In case you are using JAX-RS 2.x spec, you need to include that
jar in application war or ear. Please also add below entry to use jax-rs
specific classes from application jar.

               <wls:package-name>javax.ws.rs.*</wls:package-name>

                 We struggled a lot for this issue and there is no
documentation for this issue in CXF.





          



--
View this message in context: 
http://cxf.547215.n5.nabble.com/jaxrs-cxf-deployment-issues-on-weblogic-12c-tp5742398p5756013.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to