Maven + Resteasy JAXB could not find writer for content-type application/xml
问题 I want to create a .jar that will be used in other projects which amongst others, makes use of the ReastEasy libraries (jaxb, jaxrs, jaxrs-clients etc). Although I am including all libraries, and everything works well in maven based projects, apparently some libraries are not included in the .jar and I am getting the following exception in simple Java SE projects where the .jar is just included in the lib folder: RuntimeException: could not find writer for content-type application/xml type