Hello.
When I run this code within a Maven project running on Netbeans there's
no problem:
webResource = Client.create().resource(postURL);
clientResponse = webResource.type(MediaType.TEXT_PLAIN)
.accept(MediaType.TEXT_PLAIN).post(
ClientResponse.class, "blimblimblim");
But when I try to run that code with the executable jar I get with mvn
assembly then:
'com.sun.jersey.api.client.ClientHandlerException: A message body writer
for Java type, class java.lang.String, and MIME media type, text/plain,
was not found'
Any clue with this?