RE: org.apache.axis2.AxisFault: java.lang.NoSuchMethodError: Exception org.apache.ws.security.WSPasswordCallback.getIdentifer()Ljava/lang/String;

Martin Gainty <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Obrigado Roberto,

Martin
______________________________________________ 
Por favor, não altere ou perturbar essa transmissão
 > Date: Tue, 9 Apr 2013 12:44:15 -0300
> Subject: Re: org.apache.axis2.AxisFault: java.lang.NoSuchMethodError: Exception org.apache.ws.security.WSPasswordCallback.getIdentifer()Ljava/lang/String;
> From: [email protected]
> To: [email protected]; [email protected]
> 
> Dear Tania, please reply to to the list and not me directly, by using
> "reply all" in your mailer , so everyone can benefit from the
> discussion.
> 
> On Tue, Apr 9, 2013 at 10:13 AM, Tania Marinova <[email protected]> wrote:
> > Thank you for your response  You were right. that there was anoter wss4j  in
> > Mywebservice_client ->WebContent -> Web - INF
> >
> > (maybe it was copied with the other libs from the rampart distributtion)
> >
> > SO
> > 1. when I've got wss4j - 1.6.4.jar   My excepton is this:
> >
> >
> > org.apache.axis2.AxisFault: java.lang.NoSuchMethodError:
> > org.apache.ws.security.WSPasswordCallback.getIdentifer()Ljava/lang/String;
> >     at
> 
> The wss4j - 1.6.4.jar  has the "getIdentifer()Ljava/lang/String"
> method, you can verify that by using "jar xf" on the jar (or anything
> tool that can unzip) and using
> javap as Martin showed. I'd verify your copy.
> 
> However, as I mentioned previously, WEB-INF/lib is not the only
> possible location for the jar. You haven't mentioned your web server -
> info which would help us help you - but that jar is likely to be part
> of a server distro and you can find out for sure by:
> 
>   System.out.println("CallbackHandler instance was loaded from: " +
> CallbackHandler.class.getProtectionDomain().getCodeSource().getLocation());
> 
> If the path to the jar is not in WEB-INF/lib , read your web server
> docs to fix that.
> 
> > And I'm really desperate and I think no one can help me.
> 
> Think positive and read the advice you are getting, the problem likely
> isn't that hard to fix.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
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.