This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Ant & servlet.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Ant & servlet.jar" Watch "Ant & servlet.jar" New topic

Ant & servlet.jar

Manju Bee

Joined: Aug 02, 2002
Posts: 4
A newbie question:
I could not use ant with Tomcat's servlet.jar in the classpath.
I got the exception:
Exception in thread "main" java.lang.NoClassDefFoundError: Tomcat

When I removed servlet.jar from the classpath ant worked just fine.
Anyone know what's happening?
[ August 14, 2002: Message edited by: Manju Bee ]
[ August 14, 2002: Message edited by: Manju Bee ]
GeeCON Prague 2014
subject: Ant & servlet.jar