-
Bug
-
Resolution: Done
-
Major
-
1.2.GA
-
None
-
None
To reproduce:
1. Configure
Set resteasy.use.builtin.providers to false in the web.xml. Add org.jboss.resteasy.plugins.spring.SpringContextLoaderListener. Use spring to component-scan the providers. This should register a custom provider for json context finder.
2. Start the server
3. Request for a json resource
4. See the request fail as no suitable message reader was found (which is fine because we turned off all the builtin providers)
5. Generate a second request for a json resource
6. See this request succeed as suddenly the inbuilt message readers, providers, context finders are registered in the default factory.