Date Created: Wed 29-Jun-2011

Related Document Categories:


    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.


Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

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

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories