You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2024/08/31 15:40:00 UTC

[jira] [Closed] (CXF-9050) Apache CXF JAX RS Service Description Swagger » 3.6.4 | Wrong import

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

Andriy Redko closed CXF-9050.
-----------------------------
    Resolution: Won't Fix

> Apache CXF JAX RS Service Description Swagger » 3.6.4 | Wrong import
> --------------------------------------------------------------------
>
>                 Key: CXF-9050
>                 URL: https://issues.apache.org/jira/browse/CXF-9050
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.6.4
>            Reporter: Dmitry
>            Priority: Major
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> cxf-rt-rs-service-description-swagger depends on jakarta.ws.rs.core
> But *DefaultApplicationFactory.class* have {*}javax{*}.ws.rs.core.Application import instead of jakarta.
> As a result, an error occurs when org.apache.cxf.jaxrs.spring.SpringComponentScanServer.class try to call .createServer() method:
> """
> Error creating bean with name 'jaxRsServer' defined in class path resource [org/apache/cxf/jaxrs/spring/SpringComponentScanServer.class]: Failed to instantiate [org.apache.cxf.endpoint.Server]: *Factory method 'jaxRsServer' threw exception with message: javax/ws/rs/core/Application*
> """
> _Thank Apache team for your work and support!_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)