Note that there are some explanatory texts on larger screens.

plurals
  1. POIvy fails to resolve a dependency, unable to find cause
    text
    copied!<p>While using <code>ivy:retrieve</code>, it fails to resolve the dependency that should be downloaded. The output looks like this:</p> <pre><code>Buildfile: C:\Users\Simon\workspace\apollo\build.xml init: resolve: BUILD FAILED C:\Users\Simon\workspace\apollo\build.xml:42: Problem: failed to create task or type antlib:org.apache.ivy.ant:retrieve Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any &lt;presetdef&gt;/&lt;macrodef&gt; declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -C:\Users\Simon\eclipse\plugins\org.apache.ant_1.8.2.v20120109-1030\lib -C:\Users\Simon\.ant\lib -a directory added on the command line with the -lib argument Total time: 348 milliseconds </code></pre> <p>The relevant section of the <code>build.xml</code> looks like so:</p> <pre><code> &lt;target name="resolve" depends="init"&gt; &lt;ivy:retrieve pattern="${lib}/[artifact]-[revision].[ext]" sync="true" /&gt; &lt;/target&gt; </code></pre> <p>Here is also a list of what it should be downloading (from the <code>build.xml</code>)</p> <pre><code> &lt;target name="doc" depends="build"&gt; &lt;javadoc sourcepath="${src}" classpathref="libraries" access="private" destdir="${doc}" windowtitle="Apollo"&gt; &lt;doclet name="org.jboss.apiviz.APIviz" pathref="libraries"&gt; &lt;param name="-sourceclasspath" value="${bin}" /&gt; &lt;param name="-author" /&gt; &lt;param name="-version" /&gt; &lt;param name="-use" /&gt; &lt;param name="-nopackagediagram" /&gt; &lt;/doclet&gt; &lt;doctitle&gt;&lt;![CDATA[&lt;h1&gt;Apollo&lt;/h1&gt;]]&gt;&lt;/doctitle&gt; &lt;link href="http://download.oracle.com/javase/6/docs/api/" /&gt; &lt;link href="http://docs.jboss.org/netty/3.2/api/" /&gt; &lt;link href="http://guava-libraries.googlecode.com/svn/trunk/javadoc/" /&gt; &lt;link href="http://www.junit.org/apidocs/" /&gt; &lt;link href="http://commons.apache.org/compress/apidocs/" /&gt; &lt;link href="http://jruby.org/apidocs/" /&gt; &lt;/javadoc&gt; &lt;/target&gt; </code></pre>
 

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