axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cooper, Jeremy" <jeremy.coo...@retirementpartner.com>
Subject RE: java.lang.NoSuchMethodError: javax.xml.namespace.QName
Date Mon, 28 Apr 2008 20:49:36 GMT
Make sure that you don't have the weblogic jar in your classpath.
Weblogic ships a different version of the QName class

 

From: Anthony Bull [mailto:anthony.bull@bcsoft.co.nz] 
Sent: Monday, April 28, 2008 1:48 PM
To: axis-user@ws.apache.org
Subject: Re: java.lang.NoSuchMethodError: javax.xml.namespace.QName

 

Hi Peter, 

I'm not positive on it, but I seem to remember getting this error when I
used a different version of the addressing/rampart modules with a
specific version of Axis 2.

E.g.  Axis 2 1.3 and rampart 1.2 and addressing 1.2.  

Changing all modules are jars to be for the same release of Axis 2 fixed
it up.

Rajesh, Peter (CLAIMS, WIP) wrote: 

Hi, 

In the java client, to invoke an Axis2 webservice, when we try to create
the ConfigurationContext as below, 

ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:
/Test/build/client_repository", null);

       
Below exception is thrown, 

java.lang.NoSuchMethodError:
javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Lja
va/lang/String;)V 

Please advice. 

Thanks & Regards, 

Peter Rajesh



************************************************************************
*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution
is
strictly prohibited. If you are not the intended recipient, please
notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
************************************************************************
*






-- 
 
Anthony
------------------------------------- 
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand
 
anthony.bull@bcsoft.co.nz
Ph  +64 4 472 8818
Fax +64 4 472 8811
------------------------------------- 
www.bcsoft.co.nz
--------------------------------------------------------------- 
This email may contain confidential or privileged information, 
and is intended for use only by the addressee, or addressees. 
If you are not the intended recipient please advise the sender 
immediately and do not copy, use or disclose the contents to 
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses 
received with this email, or to any changes made to the original 
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black 
Coffee Software Ltd.
--------------------------------------------------------------- 

--------------------------------------------------------------------- To
unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional
commands, e-mail: axis-user-help@ws.apache.org 



The information contained in this message and any accompanying attachments may contain privileged,
private and/or confidential information protected by state and federal law.  Penalties may
be assessed for unauthorized use and/or disclosure.  This message and any attachments are
intended for the designated recipient only.  If you have received this information in error,
please notify the sender immediately and return or destroy the information.

This e-mail transmission and any attachments are believed to have been sent free of any virus
or other defect that might affect any computer system into which it is received and opened.
It is, however, the recipient's responsibility to ensure that the e-mail transmission and
any attachments are virus free, and the sender accepts no responsibility for any damage that
may in any way arise from their use.

Mime
View raw message