无法在Eclipse MARS中重置代理 [英] Unable to reset proxy in Eclipse MARS

查看:249
本文介绍了无法在Eclipse MARS中重置代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Fedora 22上为JAVA开发人员安装了用于Eclipse MARS IDE的CDT。重启后,我无法在Eclipse中重置代理。当我点击网络连接时,我收到一条错误消息当前显示的页面包含无效值



错误信息



必须设置活动提供者到手动,但下拉列表现在缺少。
Eclipse从以下消息开始:


org.eclipse.m2e.logback.configuration:
org。在
状态位置初始化之前,eclipse.m2e.logback.configuration包已激活。将在状态位置
初始化后重试。 org.eclipse.m2e.logback.configuration:Logback config
文件:
/root/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.2.20150902-0002 .xml
SLF4J:类路径包含多个SLF4J绑定。 SLF4J:在
中找到
绑定[bundleresource://472.fwk12572413:1 / org / slf4j / impl / StaticLoggerBinder.class]
SLF4J:在
中找到绑定[bundleresource: //472.fwk12572413:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J:请参阅 http:/ /www.slf4j.org/codes.html#multiple_bindings
说明。 SLF4J:实际绑定的类型为
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration:初始化logback


即使遇到错误,也没有消息。应该更改哪个配置文件以重置代理?

解决方案

不幸的是,这是最新的eclipse mars版本的已知问题。
说明可以在这里找到: https://bugs.eclipse.org /bugs/show_bug.cgi?id=479075



解决方法:
在$下创建文件org.eclipse.core.net.prefs {eclipse.install.dir} /configuration/.settings with content:

  nonProxiedHosts = localhost 


I installed CDT on top of Eclipse MARS IDE for JAVA developers on Fedora 22. After a reboot, I am unable to reset proxy in Eclipse. When I click on Network Connections I get an error message The currently displayed page contains invalid values.

After the error message

The Active provider has to be set to 'Manual', but the drop down list is now missing. Eclipse starts with the following messages:

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. org.eclipse.m2e.logback.configuration: Logback config file: /root/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.6.2.20150902-0002.xml SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [bundleresource://472.fwk12572413:1/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [bundleresource://472.fwk12572413:2/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] org.eclipse.m2e.logback.configuration: Initializing logback

There are no messages even after the error is encountered. Which configuration file should I change to reset proxy?

解决方案

Unfortunately this is known issue with the latest eclipse mars version. Description could be found here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479075

Workaround: create file "org.eclipse.core.net.prefs" under ${eclipse.install.dir}/configuration/.settings with content:

nonProxiedHosts=localhost

这篇关于无法在Eclipse MARS中重置代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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