Date Created: Wed 29-Jun-2011

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


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

The above exception is thrown when Axis2 was run as webapp within Tomcat 7 and started as local server.

One reason:

You have downloaded a project that has been built in another Eclipse IDE and so the Axis web services classes are all out of sync.

How to clean the project.

1. Create a new Dynamic Web Project in Eclipse: Note to specify Dynamic Web Module 2.5 facet. £.0 is not compatible with Axis 2. If using Tomcat 7, you can use Axis 2.axis2-1.5.4. Tomcat 6 best to use axis2-1.4.1.



2. Ensure you set Axis run-time: Windows | Preferences | Web Services | Axis 2 Preferences -> Set path of Axis directory (you need to download the correct version of Axis)



3. Create a server definition for Tomcat 7. To do this easily you will need Eclipse 3.6 (Helios) but can configure manually in other versions.

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many leading brands around the world. Steve specialises in JEE, DevOps and Thought Leadership.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

Courses

  • WebSphere Courses

Articles

WebSphere Categories

Other Categories