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

Sagara Gunathunga <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CANzUfzdt+98DdfYkmTG+fTRkcXzWXzoKpy+gKqDAofHr3-2Pdg@mail.gmail.com>
On Tue, Jul 16, 2013 at 7:23 PM, Cyril Antony <[email protected]>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.