rproserpio opened a new pull request, #580:
URL: https://github.com/apache/struts/pull/580

   In commit e9d0a5518cd0671d9ad0353a2c87246ef0d2061b ContentTypeHandlerManager 
has been changed from setter-injected to constructor-injected.
   However, at least with spring as the object factory, that bean was an 
internal bean not available from the factory, injected post construction.
   In the 6.0.0 implementation ContentTypeInterceptor cannot be instantiated 
since its dependency cannot be resolved:
   ```
   org.springframework.beans.factory.UnsatisfiedDependencyException
   
   Error creating bean with name 
'org.apache.struts2.rest.ContentTypeInterceptor': Unsatisfied dependency 
expressed through constructor parameter 0; nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying 
bean of type 'org.apache.struts2.rest.ContentTypeHandlerManager' available: 
expected at least 1 bean which qualifies as autowire candidate. Dependency 
annotations: {}
   ```
   This commit attempts to revert that change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to