[ https://issues.apache.org/jira/browse/CXF-8786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629070#comment-17629070 ]
Andriy Redko edited comment on CXF-8786 at 11/4/22 4:12 PM: ------------------------------------------------------------ [~Main] you have mix of 3.3.11 and 3.5.4 at classpath, please fix that {noformat} $ grep -i "cxf" main.txt [INFO] | | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-core:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.3.11:compile [INFO] | | | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.3.11:compile [INFO] | | | | - org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.3.11:compile [INFO] | | | | - org.apache.cxf:cxf-rt-ws-policy:jar:3.3.11:compile [INFO] | | - org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile{noformat} {noformat} $ grep -i "cxf" CCDC-1.0.31.txt [INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-core:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.5.4:compile [INFO] | | - org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.5.4:compile [INFO] | | - org.apache.cxf:cxf-rt-ws-policy:jar:3.5.4:compile [INFO] +- org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile [INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-core:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.5.4:compile [INFO] | | - org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.5.4:compile [INFO] | | - org.apache.cxf:cxf-rt-ws-policy:jar:3.5.4:compile [INFO] +- org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-core:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.5.4:compile [INFO] | | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.5.4:compile [INFO] | | | - org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.5.4:compile [INFO] | | | - org.apache.cxf:cxf-rt-ws-policy:jar:3.5.4:compile [INFO] | - org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile{noformat} was (Author: reta): [~Main] you have mix of 3.3.11 and 3.5.4 at classpath, please fix that ``` $ grep -i "cxf" main.txt [INFO] | | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-core:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.3.11:compile [INFO] | | | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.3.11:compile [INFO] | | | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.3.11:compile [INFO] | | | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.3.11:compile [INFO] | | | | \- org.apache.cxf:cxf-rt-ws-policy:jar:3.3.11:compile [INFO] | | \- org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile ``` ``` $ grep -i "cxf" CCDC-1.0.31.txt [INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-core:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.5.4:compile [INFO] | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.5.4:compile [INFO] | | \- org.apache.cxf:cxf-rt-ws-policy:jar:3.5.4:compile [INFO] +- org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile [INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-core:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.5.4:compile [INFO] | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.5.4:compile [INFO] | | \- org.apache.cxf:cxf-rt-ws-policy:jar:3.5.4:compile [INFO] +- org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-core:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.5.4:compile [INFO] | | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.5.4:compile [INFO] | | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.5.4:compile [INFO] | | +- org.apache.cxf:cxf-rt-ws-addr:jar:3.5.4:compile [INFO] | | | \- org.apache.cxf:cxf-rt-ws-policy:jar:3.5.4:compile [INFO] | \- org.apache.cxf:cxf-rt-transports-http-hc:jar:3.5.4:compile [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.4:compile ``` > Getting NoSuchMethodError when upgrading to CXF 3.5.4 > ----------------------------------------------------- > > Key: CXF-8786 > URL: https://issues.apache.org/jira/browse/CXF-8786 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 3.5.4 > Reporter: James > Priority: Major > Attachments: CCDC-1.0.31.txt, main.txt > > > Caused by: java.lang.NoSuchMethodError: 'java.util.Set > org.apache.cxf.message.MessageUtils.getContextualStrings(org.apache.cxf.message.Message, > java.lang.String, java.util.Set)' > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRetransmits(HTTPConduit.java:1434) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1587) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1389) > at > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:689) > at > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:441) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:356) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:314) > at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140) -- This message was sent by Atlassian Jira (v8.20.10#820010)