Hi, I'm trying to use XMLBeans 2.0.0 within WSAD 5.1.1. While converting the xml document into java objects using the parse method I get the following error java.lang.NoSuchMethodError: javax.xml.namespace.QName: method <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V not found at org.apache.xmlbeans.impl.store.Locale.<clinit>(Locale.java:130) at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208) at au.gov.hic.agedCare.schemas.agedCareMessage.AgedCareMessageDocument$Factory.parse(AgedCareMessageDocument.java:51)
This error occurs because the XMLBeans jar files are using one version of the class, javax.xml.namespace.QName. However, Websphere has its own older version of the same class in v5.1.1\runtimes\ee_v51\lib directory in a jar file qname.jar. The older version is being used instead of the latest version. The runtimes classpath is always used ahead of the classpath within the EJB, so I cannot get the application to use the XMLBeans version of QName. Is there any way around this problem? Honor Chan Honor Chan 612 47837 ******************************************************************************** NOTICE - This message is intended only for the use of the addressee named above and may contain privileged and confidential information. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action based upon it. If you received this message in error please notify Medicare Australia immediately. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Medicare Australia. *********************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]