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/02/01 12:25:51 UTC

[jira] [Issue Comment Deleted] (CXF-7198) cxf-spring-boot-starter does not work with Spring Boot 1.5.0 or above

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

Sergey Beryozkin updated CXF-7198:
----------------------------------
    Comment: was deleted

(was: Github user deki commented on the issue:

    https://github.com/apache/cxf/pull/232
  
    The problem is described in CXF-7198. I think CXF should use the latest Spring Boot version, samples should also be based on that. I've opened another PR #233 for it.
)

> cxf-spring-boot-starter does not work with Spring Boot 1.5.0 or above
> ---------------------------------------------------------------------
>
>                 Key: CXF-7198
>                 URL: https://issues.apache.org/jira/browse/CXF-7198
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, JAX-WS Runtime
>            Reporter: Karthik Prasad
>            Assignee: Freeman Fang
>             Fix For: 3.2.0
>
>
> The ServletRegistrationBean( package org.springframework.boot.context.embedded.ServletRegistrationBean) which was already marked as deprecated since version 1.4 , as part of clean-up activity in version 1.5.0 has been removed and moved to  org.springframework.boot.web.servlet.ServletRegistrationBean. Hence when using cxf-spring-boot-starter-jaxrs or cxf-spring-boot-starter-jaxws with spring-boot 1.5.0 or 2.0.0 snapshot. Application fails with error java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.ServletRegistrationBean.
> Below is the Javadoc provided in deprecated class org.springframework.boot.context.embedded.ServletRegistrationBean.
> /*
>  * @deprecated as of 1.4 in favor of
>  * {@link org.springframework.boot.web.servlet.ServletRegistrationBean}
>  */
> @Deprecated
> public class ServletRegistrationBean
> 		extends org.springframework.boot.web.servlet.ServletRegistrationBean
> }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)