Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
2.1.0.GA
-
None
-
None
Description
When i configure resteasy to scan for both providers and resources and run tomcat the following exception is thrown:
java.lang.RuntimeException: Illegal to inject a message body into a singleton into public org.codehaus.jackson.jaxrs.JacksonJsonProvider.
Now when I just configure resteasy to scan for resources and configure my custom providers in the web.xml, everything works fine and my resources output Jackson format JSON.
However I would like the scan to work for everything and use the jackson provider
Maybe this Is a known issue, or I am missing some configuration, at least I couldn't find any info on this.