You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by karunta <ma...@yahoo.com> on 2006/07/20 07:10:59 UTC
Exception while initializing WebServer
Dear All,
I'm using XML RPC version 3.0b1.
Jars in my application: xmlrpc-client-3.0b1.jar, xmlrpc-common-3.0b1.jar,
xmlrpc-server-3.0b1.jar
When I try this code
Webserver wServer = new WebServer(8090);
I got this exception
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ws/commons/serialize/DOMSerializer
at
org.apache.xmlrpc.serializer.NodeSerializer.<clinit>(NodeSerializer.java:27)
at
org.apache.xmlrpc.common.TypeFactoryImpl.<clinit>(TypeFactoryImpl.java:85)
at
org.apache.xmlrpc.common.XmlRpcController.<init>(XmlRpcController.java:28)
at org.apache.xmlrpc.server.XmlRpcServer.<init>(XmlRpcServer.java:34)
at
org.apache.xmlrpc.server.XmlRpcStreamServer.<init>(XmlRpcStreamServer.java:49)
at
org.apache.xmlrpc.server.XmlRpcHttpServer.<init>(XmlRpcHttpServer.java:14)
at
org.apache.xmlrpc.webserver.ConnectionServer.<init>(ConnectionServer.java:28)
at
org.apache.xmlrpc.webserver.WebServer.newXmlRpcStreamServer(WebServer.java:85)
at org.apache.xmlrpc.webserver.WebServer.<init>(WebServer.java:82)
at org.apache.xmlrpc.webserver.WebServer.<init>(WebServer.java:100)
at ipcs.test.JavaServer1.main(JavaServer1.java:60)
It looks I'm missing some jars in my apllication.
Any clue? please..
--
View this message in context: http://www.nabble.com/Exception-while-initializing-WebServer-tf1970334.html#a5409051
Sent from the Apache Xml-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
Re: Exception while initializing WebServer
Posted by Jimisola Laursen <li...@jimisola.com>.
Since commons-utils is hard to find for now Maven users it might be a good
thing to put a note on where to find it in the FAQ?
Regards,
Jimisola
--
View this message in context: http://www.nabble.com/Exception-while-initializing-WebServer-tf1970334.html#a5444569
Sent from the Apache Xml-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
Re: Exception while initializing WebServer
Posted by Jochen Wiedmann <jo...@gmail.com>.
On 7/21/06, karunta <ma...@yahoo.com> wrote:
> Where do I get this commons-utils. Because in the bundle xmlrpc-3.0b1, I only
> got 3 jars (xmlrpc-client-3.0b1.jar, xmlrpc-common-3.0b1.jar,
> xmlrpc-server-3.0b1.jar).
http://www.apache.org/dyn/closer.cgi/ws/commons/util
--
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
Re: Exception while initializing WebServer
Posted by Jimisola Laursen <li...@jimisola.com>.
karunta wrote:
>
> Where do I get this commons-utils. Because in the bundle xmlrpc-3.0b1, I
> only got 3 jars (xmlrpc-client-3.0b1.jar, xmlrpc-common-3.0b1.jar,
> xmlrpc-server-3.0b1.jar).
>
> I try to visit http://ws.apache.org/commons/util/ but I find no link for
> download.
>
> ???
>
Hi!
Information about this hav been posted in earlier threads. I assume that you
are not using Maven (maven.apache.org) because then it resolves the
dependencies for you.
Anyway, Maven can still come in handy for you since a lot of
libraries/dependencies are available.
Go from here: http://mvnrepository.com/search.html?query=commons-util
Regards,
Jimisola
--
View this message in context: http://www.nabble.com/Exception-while-initializing-WebServer-tf1970334.html#a5430293
Sent from the Apache Xml-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
Re: Exception while initializing WebServer
Posted by karunta <ma...@yahoo.com>.
Where do I get this commons-utils. Because in the bundle xmlrpc-3.0b1, I only
got 3 jars (xmlrpc-client-3.0b1.jar, xmlrpc-common-3.0b1.jar,
xmlrpc-server-3.0b1.jar).
I try to visit http://ws.apache.org/commons/util/ but I find no link for
download.
???
--
View this message in context: http://www.nabble.com/Exception-while-initializing-WebServer-tf1970334.html#a5430245
Sent from the Apache Xml-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
Re: Exception while initializing WebServer
Posted by Jimisola Laursen <li...@jimisola.com>.
Hi!
Looks as if you don't have commons-utils in your classpath.
You'll find a similar thread here:
http://www.nabble.com/about-commons-codec-tf1934893.html#a5303921
For a complete dependency list see:
http://ws.apache.org/xmlrpc/dependencies.html
regards,
Jimisola
--
View this message in context: http://www.nabble.com/Exception-while-initializing-WebServer-tf1970334.html#a5427222
Sent from the Apache Xml-RPC - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org