相关疑难解决方法(0)

常春藤无法解决依赖,无法找到原因

使用时ivy:retrieve,它无法解决应下载的依赖项.输出如下所示:

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 <presetdef>/<macrodef> 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 …
Run Code Online (Sandbox Code Playgroud)

eclipse ant ivy

32
推荐指数
3
解决办法
3万
查看次数

标签 统计

ant ×1

eclipse ×1

ivy ×1