JAX-RS Jersey classpath scanning

Anonymous
2013-04-02
2013-05-23

  • Anonymous
    2013-04-02

    Hi.  I have a JAX-RS RESTful web service app running under embedded Jetty that works in part by classpath scanning, similar to Spring scanning for beans in named packages.  Problem is, when I run this app under onejar, onejar is not finding the specially annotated classes that define the REST endpoints.

    Has anyone encountered this problem specifically with the Jersey JAX-RS implementation?  The classes to be scanned, are located in one of the lib jars and in the main.jar.

    Thanks.