Unable to reset proxy in Eclipse MARS

2019-04-06 19:48发布

问题:

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?

回答1:

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


回答2:

Did you move your install directory ? Because this exact same problem happend to me after I (brutally) moved the Eclipse install directories.

A re-install cleared the problem.



标签: eclipse proxy