Method not available : org.apache.axis2.transport.TransportUtils.getMessageFormatter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Method not available : org.apache.axis2.transport.TransportUtils.getMessageFormatter

Cyril Antony


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 .?

Thanks 
Cyril 
Reply | Threaded
Open this post in threaded view
|

Re: Method not available : org.apache.axis2.transport.TransportUtils.getMessageFormatter

Rajika Kumarasiri-2
This list for Axis2/C related discussions. You might want to ask from Axis2/Java user list. 

Rajika


On Tue, Jul 16, 2013 at 6:30 AM, Cyril Antony <[hidden email]> 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 .?

Thanks 
Cyril