ggts

mac ggts java.net.UnknowHostException

scutil --set HostName "localhost"
scutil --get HostName
 org.grails.ide.eclipse.longrunning.client.GrailsProcessDiedException

Preferences -> Groovy -> Grails -> Launch Grails

 

and uncheck “Keep external Grails running“.

 

------------------------------

Unexpected exception: org/eclipse/equinox/internal/p2/repository/RepositoryTransport
java.lang.reflect.InvocationTargetException

Window-> Preferences -> General -> Network Connection.

Now remove the proxy bypass and clear SOCKS IP.

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1

I experienced this issue when the SOCKS proxy in eclipse was incorrectly configured. My machine which sits in a LAN connects to the internet using an HTTP proxy. In the Network Connections tab in eclipse, i had configured the HTTP, HTTPS and SOCKS proxy. The SOCKS proxy was not required in this case, and on clearing the SOCKS proxy, the error disappeared and Eclipse Marketplace became accessible...woohoo !!

Resolution Steps

  1. In Eclipse, click Windows -> Preferences
  2. Search for 'Network Connections' in the 'filter' textbox
  3. Set HTTP and HTTPS proxies correctly ( If you are connecting to the internet using a proxy)
    Note : If you are connecting to the internet without proxy, use the 'Direct' profile setting in the 'ActionProvider' drop down. Else use the 'Manual' setting.
  4. Set SOCKS proxy ( If you have a SOCKS proxy server configured), otherwise clear this row.
  5. Apply the changes and save it.

Now Marketplace should become accessible for you.

For details on Network Connections configuration in Eclipse, use the following link

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm&_sm_au_=iDMfvB6nQs52SSSM

猜你喜欢

转载自robinfung.iteye.com/blog/2204538
今日推荐