java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet

转载 2011年01月24日 21:33:00

http://hi.baidu.com/moonhai/blog/item/fa7ed402f741137c3812bbac.html

Step 1 - Windows --> preferences --> Web Services --> Axis 2 --> Select the valid location of the Axis distribution.
Step 2- After creating the dynamic web project and adding the axis support when you try to create the web service, click on run time of apache axis by default its apache axis choose axis 2 instead.

Step3 : Go to the web.xml of your web project replace the below line 我改了这个配置就好了。

<servlet>
    <display-name>Apache-Axis Admin Servlet Web Admin</display-name>
    <servlet-name>AxisAdminServlet</servlet-name>
    <servlet-class>org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
    <load-on-startup>100</load-on-startup>
  </servlet>



with

<servlet>
    <display-name>Apache-Axis Admin Servlet Web Admin</display-name>
    <servlet-name>AxisAdminServlet</servlet-name>
    <servlet-class>org.apache.axis2.webapp.AxisAdminServlet</servlet-class>
    <load-on-startup>100</load-on-startup>
  </servlet>



Step 4 : you may be getting some of the errors/exceptions like class not found.....Actually by default wtp doesn't includes all the jars....
Look into the class name, use the site findjar.com give the class name it will give the jar file name. So you go back to your axis dsitribution, copy that jar and place it into your lib folder. it should work.

You may be needed to redo the step 4 sevral time, but thats safest way coz if you copy all the jars from axis lib to your web app lib you may end up jars conflict as some of the jars may be availble in you server runtime.

举报

相关文章推荐

戴尔电脑网上直销-戴尔笔记本网上订购

戴尔电脑购买指南 戴尔电脑网上直销 戴尔笔记本网上订购 戴尔台式机网上订购 戴尔笔记本电脑戴尔笔记本电脑声明细则 * 赛扬、Celeron Inside、迅驰、迅驰 标识、Core Inside、英特...

ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet(亲测,管用!已经在这个网站解决好多问题了)

Stack Overflow QuestionsJobsTagsUsersBadges Ask Question _ Stack Overf...

精选:深入理解 Docker 内部原理及网络配置

网络绝对是任何系统的核心,对于容器而言也是如此。Docker 作为目前最火的轻量级容器技术,有很多令人称道的功能,如 Docker 的镜像管理。然而,Docker的网络一直以来都比较薄弱,所以我们有必要深入了解Docker的网络知识,以满足更高的网络需求。

找不到AxisAdminServlet类的解决方案

配置Eclipse,Eclipse自带了开发WebService的工具。 打开Eclipse-->点击菜单windows-->Preferences-->WebServices-->Axis2P...

java.lang.ClassNotFoundException: org.apache.axis2.transport.local.LocalTransportSender 解决问题

2013-07-31 12:11:15 [main] DEBUG context.AbstractContext : OnDemandLogger initialized for class org....

org.apache.axis2.AxisFault at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext错误解决

项目背景,访问MQ的功能接口发布到Webservice上,本地调用此接口报错如下: org.apache.axis2.AxisFault: com/ibm/mq/MQException at or...

java.lang.ClassNotFoundException

jdbc编程,含引入jar包方法

java.lang.ClassNotFoundException: com.epoint.servlet.WelcomeServlet

java.lang.ClassNotFoundException: com.servlet.WelcomeServlet at org.apache.catalina.loader.WebappCl...

java.lang.ClassNotFoundException: org.springframework.ui.freemarker.FreeMarkerConfigurationFactory

Spring freemarker java.lang.ClassNotFoundException: org.springframework.ui.freemarker.FreeMarkerConf...

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

java.lang.ClassNotFoundException: org.apache.catalina.startup.VersionLoggerListener

1 错误描述 一月 02, 2015 3:48:30 下午 org.apache.tomcat.util.digester.Digester startElement 严重: Begin event ...
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)