eclipse 外部工具配置 ->类路径中引用的库不存在:org.eclipse.swt [英] eclipse external tools configurations -> referenced library in classpath does not exist: org.eclipse.swt
问题描述
更新到最新的eclipse mars版本后
After updating to the latest eclipse mars release
版本:Mars Release Candidate 1 (4.5.0RC1)
版本号:20150521-1252
Version: Mars Release Candidate 1 (4.5.0RC1)
Build id: 20150521-1252
我无法启动任何 Ant 脚本.它总是导致以下错误:
I am not able to start any Ant Script. It always results in the following error:
首先我检查了路径是否真的正确,并确保特定的 jar org.eclipse.swt.win32.win32.x86_64_3.104.0.v20150513-1901.jar 存在于给定位置位置,它确实如此.经过一番挖掘,我注意到外部工具配置中的以下内容:
First I checked if the path is really correct, and made sure that the specific jar org.eclipse.swt.win32.win32.x86_64_3.104.0.v20150513-1901.jar exists at the given location, which it does. After some digging I noticed the following within the external tools configurations:
不知何故,我认为 eclipse 无法使用库 url 中给定的 '%20' 标记解析类路径.通常只有一个空白.恢复默认值始终会填充此特定库的 '%20'.
Somehow I think eclipse is not able to resolve the classpath with the given '%20' tag within the url to the library. Usually there is just a blank. Restoring the defaults always fills in the '%20' for this specific library.
所以我在一个没有空格的位置创建了 eclipse 的副本,并且一切正常.
So I created a copy of eclipse at a location without blanks and all works fine again.
不幸的是,我更愿意保持原样,所以有没有办法正确解析附加任务和其他任务的类路径?支持?
Unfortunatly I would prefer keeping the location at it is, so is there a way to correctly resolve the classpath for Additional Tasks & Support?
推荐答案
这是 Eclipse Mars 中的已知错误:
This is a known bug in Eclipse Mars:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=470390
更新: Eclipse 4.5.1 于 10 月 2 日发布,并已修复该错误.Eclipse 更新将解决此问题.
Update: Eclipse 4.5.1 was released on October the 2nd and the bug has been fixed. An Eclipse update will resolve this issue.
这篇关于eclipse 外部工具配置 ->类路径中引用的库不存在:org.eclipse.swt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!