This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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

Win a copy of Building Microservices this week in the Design forum!
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 ]
I agree. Here's the link:
subject: Ant & servlet.jar
It's not a secret anymore!