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

Freeman Yue Fang commented on CXF-8403:
---------------------------------------

Hi [~kuvalda],

I don't think this should be a problem anymore for CXF 3.4.2, because we have 
manged dependency of neethi 3.1.1 in CXF 3.4.2, which is like
{code}
<dependency>
                <groupId>org.apache.neethi</groupId>
                <artifactId>neethi</artifactId>
                <version>${cxf.neethi.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.ws.commons.axiom</groupId>
                        <artifactId>axiom-impl</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.ws.commons.axiom</groupId>
                        <artifactId>axiom-parent</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.ws.commons.axiom</groupId>
                        <artifactId>axiom-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>woodstox</groupId>
                        <artifactId>wstx-asl</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>woodstox</groupId>
                        <artifactId>wstx-asl</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>wsdl4j</groupId>
                        <artifactId>wsdl4j</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.codehaus.woodstox</groupId>
                        <artifactId>woodstox-core-asl</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
{code}

The conflicted woodstox version has been excluded. Could you please elaborate 
how you see this issue? If this only exists in your IDE, I don't think this is 
a problem from CXF side.

Cheers
Freeman

> stax2-api version conflict in cxf-rt-ws-security
> ------------------------------------------------
>
>                 Key: CXF-8403
>                 URL: https://issues.apache.org/jira/browse/CXF-8403
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.4.2
>            Reporter: Pavel Alekhin
>            Priority: Major
>         Attachments: dependencies.jpg
>
>
> cxf-rt-ws-security transitive stax2-api-3.1.4 conflicts with cx-core 
> stax2-api-4.2.1.
> It causes java.lang.NoSuchMethodError: 
> org.codehaus.stax2.ri.EmptyIterator.getInstance.
> The same was already fixed in CXF-7836
> !dependencies.jpg!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to