无法从资源加载定义

我有一个(希望)非常基本的问题。 我对Ant非常熟悉,我只是想使用一个构建文件,所以我可以为最近发现的一个开源应用程序Rapid Miner编写一些插件。 我一直在尝试使用Eclipse编译它(遵循Eclipses.org自己的说明如何执行此操作。)每次单击Run虽然我得到一个如下所示的错误:

Buildfile: C:\Users\jcarr14\Eclipse\Workspace\RapidMiner_Unuk\build.xml [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. BUILD FAILED C:\Users\jcarr14\Eclipse\Workspace\RapidMiner_Unuk\build.xml:329: taskdef class com.oracle.appbundler.AppBundlerTask cannot be found using the classloader AntClassLoader[] Total time: 306 milliseconds 

在我看来,必须有一个文件丢失,但我无法弄清楚它应该在哪里,因此,我无法弄清楚它是否真的存在,或者即使Eclipse是罪魁祸首。 我确实进入了Eclipse文件夹并查找了net / sf / antcontrib / antlib.xml,但无法找到任何内容。

我假设可能问题不在于Eclipse,而在于Rapid Miner。 所以我在RapidMiner项目结构中查找了相同的位置,但无法找到它。 我还在RapidMiner的论坛上发布了一个类似的问题,以防万一这是特定的RapidMiner。

我想我需要回答的基本问题是如何检查Ant是否在Eclipse中正确安装。 一旦我知道Eclipse工作正常,我就可以全神贯注地搞清楚RapidMiner的问题……

看来你需要安装ant-contrib 。