[ 
https://issues.apache.org/jira/browse/CXF-7555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Auke van Leeuwen updated CXF-7555:
----------------------------------
    Summary: Failure to construct bean of 
org.apache.cxf.jaxrs.spring.SpringViewResolverProvider  (was: Failure to 
construct bean of {{org.apache.cxf.jaxrs.spring.SpringViewResolverProvider}})

> Failure to construct bean of 
> org.apache.cxf.jaxrs.spring.SpringViewResolverProvider
> -----------------------------------------------------------------------------------
>
>                 Key: CXF-7555
>                 URL: https://issues.apache.org/jira/browse/CXF-7555
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.1
>            Reporter: Auke van Leeuwen
>
> I'm using the {{cxf-spring-boot-starter-jaxrs}} module in my project that is 
> exposing a RESTful API. However upgrading from {{3.2.0}} to {{3.2.1}} broke 
> my application:
> {noformat}
> ***************************
> APPLICATION FAILED TO START
> ***************************
> Description:
> Parameter 1 of constructor in 
> org.apache.cxf.jaxrs.spring.SpringViewResolverProvider required a bean of 
> type 'org.springframework.web.servlet.LocaleResolver' that could not be found.
>       - Bean method 'localeResolver' in 
> 'WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter' not loaded because 
> @ConditionalOnProperty (spring.mvc.locale) did not find property 'locale'
> {noformat}
> It seems like {{org.apache.cxf.jaxrs.spring.SpringViewResolverProvider}} was 
> introduced in {{3.2.1}} but that assumes that I'm *also* using Spring MVC, 
> which I don't.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to