Hello,
"Extract required libraries into generated JAR" should work, but you
have to make sure that /META-INF/services/* files are merged correctly.
You could be able to workaround that by depending (extracting) only
jersey-bundle, which should have all services already merged..
Regards,
Pavel
On 9/2/11 2:10 PM, avner.eizner wrote:
> I'm using embedded Jetty with Jersey to form a REST API.
>
> When I export from Eclipse using the Runnable JAR wizard,
> if I select "[Package required libraries into generated JAR",
> when I run the JAR, I get the error:
>
> "The ResourceConfig instance does not contain any root resource classes"
>
>
> If I select "Extract required libraries into generated JAR", I get the
> error:
> "Internal Server Error"
>
> Anyone got any fixes or workarounds?
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/jersey-with-jetty-runnable-jar-tp6753636p6753636.html
> Sent from the Jersey mailing list archive at Nabble.com.
>