English 中文(简体)
页: 1
原标题:taskdef class org.eclipse.acceleo.parser.compiler.AcceleoCompiler cannot be found using the classloader

I have this line of code in an ant bulider:

<taskdef id="acceleoCompiler" name="acceleoCompiler" classname="org.eclipse.acceleo.parser.compiler.AcceleoCompiler" classpathref="Framework.libraryclasspath" >
    </taskdef>

它抱怨如下:

taskdef class org.eclipse.acceleo.parser.compiler.AcceleoCompiler cannot be found using the classloader 

它还说,在试图经营ant楼时,与错误一样。 问题是什么?


I have the following in my ant builder:

<path id="Framework.classpath">
    <path refid="Framework.libraryclasspath" />
</path>

<path id="Framework.libraryclasspath">
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.2.0.v20111027-0537.jar"/>
</path>

And it is still not working. With the same error as before.

感谢!

最佳回答

我的道路变量是错误的。 纠正这些错误,就会解决问题。 然而,我现在面临一个不同的问题。 届时将提出新的问题并与之建立联系。

下一个问题:

问题回答

您的班次中需要获得J.org.eclipse.acceleo.parser。 请注意,如果你想要在Eclipse中使用Eclipse的Eceleo发电机,那么这项任务就被用来操作Eclipse的Eceleo基因组,那么你就不得不对你的主要模块进行点击,然后选择Run为Eceleo应用程序。 你们可以在“帮助”中找到更多的文件。

Regards,

Stephane Begaudeau





相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.

热门标签