Not able to call Web Service from Eclipse


 

Not able to call Web Service from Eclipse

I was developing a program to call Web Service. I got java.lang.ClassNotFoundException error.

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.

Ads