You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Meier (Jira)" <ji...@apache.org> on 2022/02/18 16:20:00 UTC

[jira] [Updated] (CXF-8661) JAX WS Compile Dependency missing

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

Daniel Meier updated CXF-8661:
------------------------------
    Description: The {{org.apache.cxf.feature.AbstractFeature}} class in CXF Core extends the {{WebServiceFeature}} of the JAX WS API. The CXF Core Artifact does not declare it as a Compile Dependency though (see [Maven Central|https://mvnrepository.com/artifact/org.apache.cxf/cxf-core/3.5.0]). This leads to a {{NoClassDefFoundError}} in a Spring Application using XML Configuration in a Java 11 environment, since the {{org.apache.cxf.bus.spring.NamespaceHandler}} imports {{org.apache.cxf.feature.LoggingFeature}}, an {{AbstractFeature}} implementation.  (was: The {{org.apache.cxf.feature.AbstractFeature}} class in CXF Core extends the {{WebServiceFeature}} of the JAX WS API. The CXF Core Artifact does not declare it as a Compile Dependency though (see [Maven Central|https://mvnrepository.com/artifact/org.apache.cxf/cxf-core/3.5.0]). This leads to a {{NoClassDefFoundError}} in a Spring Application using XML Configuration in a Java 11 environment, since the {{org.apache.cxf.bus.spring.NamespaceHandler}} imports {{org.apache.cxf.feature.LoggingFeature}}, a {{AbstractFeature}} implementation.)

> JAX WS Compile Dependency missing
> ---------------------------------
>
>                 Key: CXF-8661
>                 URL: https://issues.apache.org/jira/browse/CXF-8661
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.5.0, 3.4.5
>         Environment: * CXF Core 3.4.5
> * Tomcat 9.0.45
> * Oracle JDK 11.0.13
> * Spring 5.2.15.RELEASE
>            Reporter: Daniel Meier
>            Priority: Major
>
> The {{org.apache.cxf.feature.AbstractFeature}} class in CXF Core extends the {{WebServiceFeature}} of the JAX WS API. The CXF Core Artifact does not declare it as a Compile Dependency though (see [Maven Central|https://mvnrepository.com/artifact/org.apache.cxf/cxf-core/3.5.0]). This leads to a {{NoClassDefFoundError}} in a Spring Application using XML Configuration in a Java 11 environment, since the {{org.apache.cxf.bus.spring.NamespaceHandler}} imports {{org.apache.cxf.feature.LoggingFeature}}, an {{AbstractFeature}} implementation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)