Dmitry created CXF-9050:
---------------------------

             Summary: 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


cxf-rt-rs-service-description-swagger imports jakarta.ws.rs.core
But DefaultApplicationFactory.class have javax.ws.rs.core.Application import 
instead of javax.

As a result, an error occurs when SpringComponentScanServer 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



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

Reply via email to