This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFound in Eclipse-Tomcat startup

 
Brian Reckinger
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy,

I have a war file that I can deploy locally on Tomcat 5.0.28 using the java 1.5. When I execute my build.xml in Eclipse and start Tomcat from the command prompt on Windows, everything works fine. However, for debugging purposes I download the Tomcat plugin for Eclipse(3.2) and I follow the same deployment steps (i.e., same build file, same source, etc.) except for starting Tomcat using the plugin instead of the command line. Anyway, I get a java.lang.NoClassDefFoundError com.a.b.c.xxxActionServlet.initialize(xxxActionServlet.java:75)

The Tomcat base has been configured correctly in Eclipse, but I can't figure why it blows-up when being started from the IDE. I'm at the point where I'm now just chasing my tail trying to make changes to resolve this issue.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic