蚀外部工具配置->类路径中引用的库不存在:org.eclipse.swt [英] eclipse external tools configurations -> referenced library in classpath does not exist: org.eclipse.swt

查看:98
本文介绍了蚀外部工具配置->类路径中引用的库不存在:org.eclipse.swt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到最新的Eclipse Mars版本

After updating to the latest eclipse mars release

版本:火星候选版本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.

这篇关于蚀外部工具配置->类路径中引用的库不存在:org.eclipse.swt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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