Jersey fails when creating uber jar with maven-assembly-plugin
问题 I have created a maven jersey starter webapp. Also I have embedded jetty server in my app using jetty plugin. My project is working fine when I run my project using mvn jetty:run command. But when I package my project using mvn clean package command and run the jar file which has name jar-with-dependencies the project throws this exception while returning a json response from a jersey resource. SEVERE: MessageBodyWriter not found for media type=application/json, type=class com.nitish