[ 
https://issues.apache.org/jira/browse/CXF-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320397#comment-15320397
 ] 

Sergey Beryozkin commented on CXF-6869:
---------------------------------------

Hi Vedran

I did refer to a JAX-WS demo, I updated the one shipped with CXF to use a new 
starter:

https://fisheye6.atlassian.com/changelog/cxf?cs=4837a6cb5ea319f6bf87aaf3bf49c1e4e99e45a7

and it worked fine, and then I wanted to check that having JAX-RS class 
references in a common auto-configure won't require JAX-WS users add a JAX-RS 
dep, so I updated the code locally as per your patch, and the demo still worked 
fine without JAX-RS deps (I can't see in the dependency tree), I've just double 
checked it again.

My guess SpringBoot is ignoring this JAX-RS specific Configuration by catching 
NoClassDefFoundError. Can you please try on your end too, run your JAX-WS demo 
with the JAX-RS related patch fragment applied ?

Thanks, Sergey


> Consider adding Spring Boot starter
> -----------------------------------
>
>                 Key: CXF-6869
>                 URL: https://issues.apache.org/jira/browse/CXF-6869
>             Project: CXF
>          Issue Type: New Feature
>          Components: Integration
>            Reporter: Vedran Pavic
>            Assignee: Sergey Beryozkin
>
> I've recently authored a PR in Spring Boot to add support for 
> auto-configuration of {{CXFServlet}} and default CXF's configuration:
> https://github.com/spring-projects/spring-boot/pull/5659
> The PR was closed with "won't fix" resolution since Boot team are unwilling 
> to add CXF as a dependency to the project. Instead a 3rd party starter was 
> suggested.
> The concept of a 3rd party starter is generally encouraged for technologies 
> that don't have first-class support in projects from Spring portfolio. Such 
> 3rd party starters are listed here:
> https://github.com/spring-projects/spring-boot/blob/master/spring-boot-starters/README.adoc
> If CXF team is interested, I'm willing to port my PR to CXF.
> Note that the original PR was focused around JAX-WS support, but can be 
> easily expanded to include JAX-RS support as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to