Hi,
My guess is the culprit could be the jaxrpc.jar. However I would say
this is not a reason to give up. One thing you can try is to rename
the jaxrpc.jar so that it has a name like xxxjaxrpc.jar to force the
classloader to load it later. Or you can expand it, remove the QName
class and repackage and see what happens :)

Ajith

On 9/14/06, Jesse Vitrone <[EMAIL PROTECTED]> wrote:
I'm getting the following error when I run -

java.lang.NoSuchMethodError: 
javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
        at 
com.starwood.valhalla.booking.BookingServiceStub$CreateBooking.<clinit>(BookingServiceStub.java:19569)


From what I see online, this happens when there are conflicts in the jars and 
it's loading the wrong javax.xml.namespace.QName .

I looked in the jars in our app (a lot of them) and I see QName in all these 
jars:
    jaxrpc.jar
    jaxb-api.jar
    woden-SNAPSHOT.jar
    stax-api-1.0.1.jar

If we use jaxb for other stuff in our app, does this mean I'm going to get 
screwed and not be able to use Axis2?

Is there a way, even programatically, to for this instance of this class to use 
the right jar?

Thanks in advance.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to