Jersey fails when creating uber jar with maven-assembly-plugin

If you look inside the MOXy jar, you will see a folder META-INF/services. In that folder, you will see a file named org.glassfish.jersey.internal.spi.AutoDiscoverable. The content of that file should be a single line org.glassfish.jersey.moxy.json.internal.MoxyJsonAutoDiscoverable What this file is for is to allow Jersey to discover the MoxyJsonAutoDiscoverable, which registers MOXy for Jersey. This service loader … Read more