eclipse错误导出插件 - java

尝试从eclipse导出IMP插件时遇到一个奇怪的错误。
使用Eclipse靛蓝时,我得到:

C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:88: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:293: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:368: Problem: failed to create task or type apitooling.apigeneration
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.

The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:103: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:26: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:293: The following error occurred while executing this line:
C:\Users\Shachar\workspace jee\ide\build.xml:368: Problem: failed to create task or type apitooling.apigeneration
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.

当我使用eclipse indigo rcp&rap版本时,会出现相同的错误。

出于相同的原因,我无法为插件创建更新站点。

在Eclipse jee版本中似乎没有发生此错误。在导出成功的同时,
插件本身不起作用(当我运行项目时它也起作用)。

参考方案

我遇到过同样的问题。重新安装“Eclipse插件开发环境”插件最终为我修复了它。

Eclipse WTP部署的构建路径依赖项 - java

我有一个依赖于其他项目(项目属性/ Java Build Path /项目)的Eclipse项目,而这些其他项目导出它们自己的库(项目属性/ Java Build Path / Order和Export)。有没有办法让Eclipse WTP和/或JBoss工具在部署中包括从属项目的导出文件?我可以通过Deployment Assembly单独添加jar,但是…

Eclipse:无法连接到远程VM。拒绝连接。 - java

每当我尝试启动eclipse调试(用于服务器端代码)时,我都会收到以下错误信息无法连接到远程VM。拒绝连接。 可能是什么问题?我已经尝试了网络上的大多数解决方案,但是都没有解决我的问题。谁能帮我解决这个问题?提前谢谢.. 参考方案 您正在使用哪个服务器?就像已经说过的:在调试配置中,您必须定义服务器的正确端口(GF:9009 / Tomcat:8000)您必…

Eclipse插件作为文件夹而不是jar - java

在Eclipse树或任何基于Eclipse的应用程序中。我可以在plugins文件夹中看到它。大多数插件为jar格式,而其中一些位于文件夹中这个文件夹只是jar提取物。为什么有人可以这样做?将插件作为提取的jar而不是仅jar文件有什么好处? 参考方案 您可以执行此操作以将jar嵌入在classpath中使用的插件中,因为您可能会在classpath中遇到嵌…

为什么Eclipse执行我的Java程序的旧版本? - java

我的程序有一个错误,导致引发ClassCastException。我省略了程序中导致该异常的行,并做了一些其他小的更改,但是每次运行它时,似乎都在运行该程序的旧版本,因为仍会抛出ClassCastException并且stacktrace指向程序中不存在的行!知道为什么会这样吗?重新启动Eclipse并没有帮助。 参考方案 如果Eclipse由于语法错误而无…

是否有任何插件或快捷方式可从弹出窗口复制eclipse中的变量值? - java

如何将下面显示的弹出窗口中的变量值复制到剪贴板?欢迎任何插件或键盘快捷键(首选)的建议。想象一下,如果此变量包含18K值,这就是我的程序将要执行的操作。在这种情况下,我当然不能有效地进行调试。 参考方案 具有18k值的方案当然不值得调试。将用例缩小到几个值,以重现该错误或任何您想要的东西。该问题并未说明您正在查看的弹出窗口是什么,但我认为它是“检查变量”弹出…