I downloaded eclipse 3.4.2 and tried to install the tomcat plugin (version 3.2.1) for eclipse from sysdeo ( http://www.eclipsetotale.com/tomcatPlugin.html )
I followed the installation instructions, but when tomcat was launched from the eclipse toolbar, I got the following error:
java.lang.NoClassDefFoundError: org / apache / tomcat / util / log / SystemLogHandler in java.lang.Class.getDeclaredConstructors0 (native method) in java.lang.Class.privateGetDeclaredConstructors (Class.java:2357) in java.langClass .getConstructor0 (Class.java:2671) in java.lang.Class.newInstance0 (Class.java:321) in java.lang.Class.newInstance (Class.java:303) at org.apache.catalina.startup.Bootstrap. init (Bootstrap.java:205) at org.apache.catalina.startup.Bootstrap.main (Bootstrap.javahaps90)
I followed the troubleshooting instructions but did not succeed.
I tried to place the plugin in the dropin directory, but still got the same error.
This worked fine in eclipse 3.2 and 3.3
Then I tried using the standard built-in WTP to configure my tomcat server. I'm not sure how he will select my server.xml in the tomcat conf directory, it seems he is not collecting now. How to link an eclipse project with this setting. I can start the server, but when I look at the tomcat start page, it shows nothing.
I would appreciate if someone could provide some ways to fix this.
Thanks in advance.
-Dipesh
debugging eclipse plugins tomcat eclipse-wtp
Dipesh
source share