Status: Closed (View Workflow)
Affects Version/s: 2.1.0.GA
Fix Version/s: None
Running Tomcat 6
On both ubuntu 10.10 and Windows 7
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.