axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Gunathunga <sagara.gunathu...@gmail.com>
Subject Re: Method not available : org.apache.axis2.transport.TransportUtils.getMessageFormatter
Date Tue, 16 Jul 2013 14:29:21 GMT
On Tue, Jul 16, 2013 at 7:23 PM, Cyril Antony <cyrilantony@intalio.com>wrote:

> Hi ,
>
> below exception occurs on using *axis2-1.7.0-SNAPSHOT* version.
>
> java.lang.NoSuchMethodError:
> org.apache.axis2.transport.TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext;)Lorg/apache/axis2/transport/MessageFormatter;
>         at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:339)
>         at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:241)
>
>
> It seems *axis2-transport-http-1.7.0-SNAPSHOT.jar* is compiled with
> earlier version of  *axis2-kernel.jar *in which the method was available.
> *axis2-kernel-1.7.0-SNAPSHOT.jar* doesnt have the method . Can anybody
> tell why is this disparity .?
>

 This seems your code base is outdated take svn update and try.

[INFO] --- maven-dependency-plugin:2.0:tree (default-cli) @
axis2-transport-http ---
[INFO] org.apache.axis2:axis2-transport-http:bundle:1.7.0-SNAPSHOT
[INFO] +- org.apache.axis2:axis2-kernel:jar:1.7.0-SNAPSHOT:compile

Thanks !


>
> Thanks
> Cyril
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

Mime
View raw message