title: RESTfull Jersey application error in executable jar
body: <p>I made a simple REST Jersey application starting with maven jersey-quickstart-grizzly archetype (from <a href="http://download.java.net/maven/2" rel="nofollow">http://download.java.net/maven/2</a>).<br></p>
  
  <p>It works fine if I run that with maven command (mvn compile exec:java); but if I made a single executable jar it return the following error:</p>
  
  <pre><code>11-nov-2011 10.58.33 com.sun.jersey.spi.container.ContainerResponse logException
  
  GRAVE: Mapped exception to response: 500 (Internal Server Error)
  javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A mess
  age body writer for Java class java.lang.String, and Java type class java.lang.S
  tring, and MIME media type text/plain was not found
  </code></pre>
  
  <p>I try to made the jar with <em>assembly</em> and <em>shade</em> plugin and in either case I have the same problem.</p>
  
  <p>I've googled a lot and I found many people have the same issue but still not a solution</p>