Solved

Ant problem

Posted on 2006-10-24
5
337 Views
Last Modified: 2008-01-16
When I try to execute my Ant file I have the following problem,
related to Tomcat

*********************************************************

Buildfile: D:\Informatique\Projets\LeHall\WorkSpace LeHall\LeHallWeb\build.xml

BUILD FAILED
D:\Informatique\Projets\LeHall\WorkSpace LeHall\LeHallWeb\build.xml:9: taskdef class org.apache.catalina.ant.StopTask cannot be found

Total time: 234 milliseconds

*********************************************************

I added catalina-ant.jar in the lib of my ant directory, so I don't understand the error,

Can someone help ?

Thx.
0
Comment
Question by:matthew016
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
shinobun earned 375 total points
ID: 17798750
What do you have on line 9 of your build.xml?

What do you get when you run "ant -debug"?
0
 
LVL 9

Author Comment

by:matthew016
ID: 17798807
I have this

      <taskdef name="stop" classname="org.apache.catalina.ant.StopTask" />

I don't run Ant on command line but from Eclipse
0
 
LVL 92

Assisted Solution

by:objects
objects earned 125 total points
ID: 17799580
> I don't run Ant on command line but from Eclipse

i think eclipse uses its own versiuon of ant
0
 
LVL 9

Assisted Solution

by:shinobun
shinobun earned 375 total points
ID: 17800747
Go from your menu to Window > Preferences
Go to Ant > Runtime
In the Classpath pane, add catalina-ant.jar
0
 
LVL 9

Author Comment

by:matthew016
ID: 17801646
Thank u all,

I ran it in the command line with debug and I could see my errors
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question