[Jersey] Re: jersey with jetty - runnable jar

From: Pavel Bucek <>
Date: Sat, 03 Sep 2011 11:54:01 +0200


"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..


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:
> Sent from the Jersey mailing list archive at