You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Soaring Eagle <co...@gmail.com> on 2005/04/22 16:22:27 UTC
Re: java.lang.NoSuchMethodError , java.lang.NoClassDefFoundError
I dont know whats the cause and solution on this issue. However, I
think you can workaround this by using Sun's jms API instead of
weblogic's. You can do this by placing Sun's jms jar in the WL
classpath before weblogic's weblogic jar.
Let me know if this worked and let me know what is the real problem &
solution if you find out.
On 4/22/05, krishna Prasad Rao <kp...@yahoo.com> wrote:
> Hi All,
>
> I am new to XMLBeans,
> I managed to compile my schema and generated java
> beans successfully ...
> Now when i am parsing my XML file thatz coming as JMS
> message, i am getting following ERROR.
> I set the classpath xbean.jar, and my documents .jar
> files in my weblogic 8.1 .... I am getting 2 types of
> errors as belowfollows ... please help me out ..
>
> thanks
> prasad
>
> 1) java.lang.NoSuchMethodError:
> javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V.
> java.lang.NoSuchMethodError:
> javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
> at
> org.apache.xmlbeans.impl.newstore2.Locale.<clinit>(Locale.java:130)
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.newInstance(SchemaTypeLoaderBase.java:190)
> at
> noNamespace.EnhancedEventDocument$Factory.newInstance(Unknown
> Source)
> at
> ***************************************************
> 2) my ERROR :
> java.lang.NoClassDefFoundError.
> ava.lang.NoClassDefFoundError
> at
> org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.newInstance(SchemaTypeLoaderBase.java:190)
> at
> noNamespace.EnhancedEventDocument$Factory.newInstance(Unknown
> Source)
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org