Home Tutorial Java Exceptions Not able to call Web Service from Eclipse

 
 

Share on Google+Share on Google+
Not able to call Web Service from Eclipse
Posted on: November 18, 2009 at 12:00 AM
Advertisement
I was developing a program to call Web Service. I got java.lang.ClassNotFoundException error.
Error was java.lang.ClassNotFoundException:
org.apache.axis2.transport.http.AxisAdminServlet.

Error was:
Nov 18, 2009 10:46:49 PM org.apache.catalina.core.StandardContext
loadOnStartup
SEVERE: Servlet /Axis2HelloWorld threw load() exception
java.lang.ClassNotFoundException:
org.apache.axis2.transport.http.AxisAdminServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1094)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3099)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) at java.lang.Thread.run(Thread.java:619)

 
To solve the problem I added httpcore-4.0.jar into web application. This solved the problem.
Advertisement

Related Tags for Not able to call Web Service from Eclipse:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 18, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com