You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/11/10 12:55:00 UTC

[jira] [Resolved] (CXF-7555) Failure to construct bean of org.apache.cxf.jaxrs.spring.SpringViewResolverProvider

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

Sergey Beryozkin resolved CXF-7555.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.2.2
                   3.1.15

I've moved it to .springmvc. subpackage and deployed the snapshots. sorry about it

> 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
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.15, 3.2.2
>
>
> 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)