Eclipse – Debugging a tomcat project in Eclipse 3.4.2


I downloaded eclipse 3.4.2 and tried installing tomcat plugin (version 3.2.1)for eclipse from sysdeo (

I have followed installation instructions but when is start tomcat from eclipse toolbar i got the following error

java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(
at java.lang.Class.getConstructor0(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at org.apache.catalina.startup.Bootstrap.init(
at org.apache.catalina.startup.Bootstrap.main(

I did follow troubleshoot instructions but no success.

I tried to putting plugin in dropin directory too but still got the same error.

This was working fine in eclipse 3.2 and 3.3

Then I tried using standard inbuilt WTP to set up my tomcat server. I am not sure how it will pick my server.xml in conf directory of tomcat, it seems it is not picking as of now.
How do I associate my eclipse project with this setup. I am able to start the server but when i browse the tomcat start page, it does not show anything.

I would appreciate if someone can provide some ways to fix this.

Thanks in advance.


Best Solution

After trying out few things I was able to debug tomcat project in eclipse 3.4.2 To debug tomcat application/project using eclipse 3.4.2 use WTP plugins which are installed along with it.

Go to Window --> Show View --> Others --> Server

In this view create a new server, please select tomcat installation directory and version information.

Then double click on Tomcat VX.X Server at local host, it opens up configuration settings page

In the Server Locations Section select "Use Tomcat Installation (takes control of Tomcat Installation) and enter deploy path.

In the publishing section select Never Publish automatically and uncheck update context path checkbox.

Voila!! All set to debug tomcat project in eclipse 3.4.2

There is no need to download and copy any extra plugin.

Thanks Juri. Hope this helps.