Note that there are some explanatory texts on larger screens.

plurals
  1. POtaskdef class org.apache.catalina.ant.InstallTask cannot be found
    text
    copied!<p>In Eclipse I am getting 5 warnings for my build.xml:</p> <pre><code>taskdef class.org.apache.catalina.ant.InstallTask cannot be found taskdef class.org.apache.catalina.ant.ListTaskcannot be found taskdef class.org.apache.catalina.ant.ReloadTaskcannot be found taskdef class.org.apache.catalina.ant.StartTask cannot be found taskdef class.org.apache.catalina.ant.StopTask cannot be found </code></pre> <p>I've set up the following system environment variables (Windows 7)</p> <pre><code>ANT_HOME: C:\apache-ant-1.8.4 CATALINA_HOME: C:\apache-tomcat-7.0.29 JAVA_HOME: C:\Program Files\Java\jdk1.6.0_34 and have added %ANT_HOME%/bin to PATH </code></pre> <p>edit: I've also added catalina-ant.jar into C:\apache-ant-1.8.4\lib </p> <p>More parts of the code:</p> <pre><code>&lt;!-- We need the Catalina jars for Tomcat --&gt; &lt;!-- * for other app servers - check the docs --&gt; &lt;fileset dir="${appserver.lib}"&gt; &lt;include name="catalina-ant.jar"/&gt; &lt;/fileset&gt; &lt;/path&gt; &lt;taskdef name="install" classname="org.apache.catalina.ant.InstallTask"&gt; &lt;classpath refid="catalina-ant-classpath"/&gt; &lt;/taskdef&gt; &lt;taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask"&gt; &lt;classpath refid="catalina-ant-classpath"/&gt; &lt;/taskdef&gt; &lt;taskdef name="list" classname="org.apache.catalina.ant.ListTask"&gt; &lt;classpath refid="catalina-ant-classpath"/&gt; &lt;/taskdef&gt; &lt;taskdef name="start" classname="org.apache.catalina.ant.StartTask"&gt; &lt;classpath refid="catalina-ant-classpath"/&gt; &lt;/taskdef&gt; &lt;taskdef name="stop" classname="org.apache.catalina.ant.StopTask"&gt; &lt;classpath refid="catalina-ant-classpath"/&gt; &lt;/taskdef&gt; </code></pre> <p>What's wrong?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload