Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 119967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:44:12+00:00 2026-05-11T03:44:12+00:00

I wish to use the Tomcat install/deploy tasks from catalina-ant.jar to deploy a webapp

  • 0

I wish to use the Tomcat install/deploy tasks from catalina-ant.jar to deploy a webapp to a remote app server.

After installing Ant using the instructions found here, my ant folder is configured as:

/usr/local/ant 

My ‘Ant Home’ has also been set to that directory through Eclipse. I copied catalina-ant.jar to my ant/lib folder.

My build.xml contains the following:

... <path id='catalina-ant-classpath'>   <fileset dir='${ant.home}/lib'>     <include name='catalina-ant.jar'/>   </fileset> </path> <taskdef name='install' classname='org.apache.catalina.ant.InstallTask'>   <classpath refid='catalina-ant-classpath'/> </taskdef> ... 

Yet my build fails with the following error:

build.xml:83: taskdef class org.apache.catalina.ant.InstallTask cannot be found 

Could there be a permissions issue going on with my /usr/local/ant directory? Is there a better place to put catalina-ant.jar?

EDIT: Strangely enough, if I put the jar somewhere else (say, in a directory inside of my user folder) and change the path to it in my build.xml it works. Ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:44:12+00:00Added an answer on May 11, 2026 at 3:44 am

    Eclipse cannot see the catalina-ant.jar. If it is in your ANT_HOME/lib directory, check what ANT_HOME is eclipse using.

    Go to your Eclipse Preferences > Ant > Runtime and see the classpath tab to see if eclipse can see the jar. Sometimes if your ANT_HOME is pointing to the right place, you may still need to restart Eclipse after adding a jar for Eclipse to see it.

    Also, I would test that you can run your build from the command line too, that might help you narrow down the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wish to use ColdFusion to grab a database backup from a live server
I wish to use the Translator classes of Zend framework in my app, but
I wish to use sp_start_job to start a job from within an insert trigger
I'm developing an app and I wish use the UIImagePickerController but I wish let
Basically I wish to use the methods of a class within the Jar file,
I wish use a uisegmentedcontrol in my app with 3 segments but not with
I wish to use SQL Server Compact 3.5 Databse with my application. The application
I wish to use scribe to export some data from a Erlang application, but
I wish to use the method with the following signature: exec(String command, String[] envp,
I wish to use Spring MVC to provide a REST web service. However, running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.