无法从资源加载定义 [英] Could not load definitions from resources

查看:199
本文介绍了无法从资源加载定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have a (hopefully) very basic question. I'm very unfamiliar with Ant, I'm just trying to use a build file so I can write some plugins for an open source application I found recently, Rapid Miner. I've been trying to compile it with Eclipse (following Eclipses.org's own instructions on how to do so.) Every time I click Run though I get an error that looks like this:

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,但无法找到任何东西。

It seems to me that there must be a file missing, but I can't figure out where it is supposed to be and as a result, I can't figure out if it is actually there or not, or even if Eclipse is the culprit. I did go into the Eclipse folder and look for a net/sf/antcontrib/antlib.xml, but was unable to locate anything.

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

I'm assuming that it's possible the problem is not with Eclipse at all, but with Rapid Miner. So I looked for that same location inside of the RapidMiner project structure and was unable to find it. I have also posted a similar question to this one on RapidMiner's forums, just in case this is RapidMiner specific.

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

I suppose the basic question I need answered is how to check if Ant is installed properly in Eclipse. Once I know that Eclipse is working fine I can then throw all my focus on figuring out what is wrong with RapidMiner...

推荐答案

您似乎需要安装 ant-contrib

这篇关于无法从资源加载定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆