0 Replies Latest reply on Aug 20, 2015 12:30 AM by coffee bean

    cxf restful : No resource classes found exception

    coffee bean Newbie

      Just started using Fuse 6.2 from 6.1. This deployed on 6.1 and I can't seem to get it to deploy in the new Fuse 6.2. This simple Rest service keeps getting the following error when I deploy to the Fuse environment.


      Any ideas would be greatly appreciated. I am really stuck with this one.


      The issue below suggests removing the javax.ws.rs/javax.ws.rs-api/2.0.1 bundle file from Fuse. The bundle starts cleanly without error however the REST service is not accessible for some reason. The CXF documentation as well as the below link mentions that the above bundle should be included.




      Keeping this file caused the error below. Why? No Idea.


      Error after deploying the bundle the following error is displayed in the logs :


      Caused by: org.apache.cxf.service.factory.ServiceConstructionException: No resource classes found at org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(AbstractJAXRSFactoryBean.j

      ava:317) at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:159) ... 29 more


      I've posted all details on following link: