Autodiscover JAX-RS resources with CXF in a Spring application

前端 未结 4 2085

Is it possible with Apache CXF (2.7.0) to automatically discover JAX-RS resources in the classpath? That is, classes annotated with @Path.

4条回答
  •  鱼传尺愫
    2020-12-09 11:46

    Tested and working in cxf 3.0.4.

    
    

    Dont forget to mention the cxf-servlet in web.xml

提交回复
热议问题