You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by "Han, Zhi (Zhi)" <zh...@lucent.com> on 2006/06/02 15:13:49 UTC

RE: java.lang.NoClassDefFoundError: javax/xml/namespace/Namespace Cont ext

I ever download the ws-common from below

http://cvs.apache.org/maven-snapshot-repository/org/apache/ws/commons/ws-com
mons-util/1.0-SNAPSHOT/ 

Does it compiled on JDK5? If not, where can I find these jars?

Thanks,

Zhi

-----Original Message-----
From: Jochen Wiedmann [mailto:jochen.wiedmann@gmail.com]
Sent: Friday, June 02, 2006 8:53 PM 


On 6/2/06, Han, Zhi (Zhi) <zh...@lucent.com> wrote:

> Jun 2, 2006 8:40:17 AM org.apache.xmlrpc.server.XmlRpcStreamServer execute
> SEVERE: execute: Error while performing request
> java.lang.NoClassDefFoundError: javax/xml/namespace/NamespaceContext
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)

You are using Java 1.4. The above class is a 1.5 class. You need an
extension jar file like ws-commons-java5, jaxme-api, or something like
that.


Jochen

-- 
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)

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

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


Re: java.lang.NoClassDefFoundError: javax/xml/namespace/Namespace Cont ext

Posted by hao hu <hu...@gmail.com>.
why don't you check out the source code from apache and include it to your
project,compile it by yourself.

2006/6/2, Han, Zhi (Zhi) <zh...@lucent.com>:
>
> I ever download the ws-common from below
>
>
> http://cvs.apache.org/maven-snapshot-repository/org/apache/ws/commons/ws-com
> mons-util/1.0-SNAPSHOT/
>
> Does it compiled on JDK5? If not, where can I find these jars?
>
> Thanks,
>
> Zhi
>
> -----Original Message-----
> From: Jochen Wiedmann [mailto:jochen.wiedmann@gmail.com]
> Sent: Friday, June 02, 2006 8:53 PM
>
>
> On 6/2/06, Han, Zhi (Zhi) <zh...@lucent.com> wrote:
>
> > Jun 2, 2006 8:40:17 AM org.apache.xmlrpc.server.XmlRpcStreamServerexecute
> > SEVERE: execute: Error while performing request
> > java.lang.NoClassDefFoundError: javax/xml/namespace/NamespaceContext
> >         at java.lang.ClassLoader.defineClass0(Native Method)
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
>
> You are using Java 1.4. The above class is a 1.5 class. You need an
> extension jar file like ws-commons-java5, jaxme-api, or something like
> that.
>
>
> Jochen
>
> --
> Whenever you find yourself on the side of the
> majority, it is time to pause and reflect.
> (Mark Twain)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>
>

Re: java.lang.NoClassDefFoundError: javax/xml/namespace/Namespace Cont ext

Posted by Pēteris Caune <cu...@gmail.com>.
Wonderful,
it worked with
http://www.ibiblio.org/maven2/org/apache/ws/commons/ws-commons-java5/1.0/ws-commons-java5-1.0.jar

Thanks!


On 6/2/06, Jochen Wiedmann <jo...@gmail.com> wrote:
> On 6/2/06, Han, Zhi (Zhi) <zh...@lucent.com> wrote:
>
> > Does it compiled on JDK5? If not, where can I find these jars?
>
> Try
>
> http://www.ibiblio.org/maven2/org/apache/ws/commons/ws-commons-java5/1.0/ws-commons-java5-1.0.jar
>
> or
>
> http://www.ibiblio.org/maven2/org/apache/ws/jaxme/jaxmeapi/0.5.1/jaxmeapi-0.5.1.jar
>
> in that order.
>
>
> --
> Whenever you find yourself on the side of the
> majority, it is time to pause and reflect.
> (Mark Twain)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>
>

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


Re: java.lang.NoClassDefFoundError: javax/xml/namespace/Namespace Cont ext

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 6/2/06, Han, Zhi (Zhi) <zh...@lucent.com> wrote:

> Does it compiled on JDK5? If not, where can I find these jars?

Try

http://www.ibiblio.org/maven2/org/apache/ws/commons/ws-commons-java5/1.0/ws-commons-java5-1.0.jar

or

http://www.ibiblio.org/maven2/org/apache/ws/jaxme/jaxmeapi/0.5.1/jaxmeapi-0.5.1.jar

in that order.


-- 
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)

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