Hi all
I'm fairly new to Jersey and stuck with the following problem.
Based on the webscanwebapp I'm trying to add a @POST method and
return the appropriate response:
@POST
@Path("create")
public Response create() throws URISyntaxException {
...
URI _uri = new URI("/records/" + createID());
return Response.created(_uri).build();
}
Doing so ends with the following exception:
java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to
load resource
[com.sun.jersey.core.spi.factory.ResponseBuilderHeaders], because it
has not yet been started, or was already stopped
What am I missing?
Thanx for your help
Daniel