`
robinfung
  • 浏览: 52677 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

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

http://forum.spring.io/forum/spring-projects/web-services/66678-bug-with-importing-multiple-xsds-in-one-wsdl 

 

I fixed this problem by (1) changing windows->preferences->gerneral->network connection: Active provider to "Manual". (2) configure the "proxy entries" below. Since my proxy listens on 8087 on my localhost, here is my configuration:

http : 127.0.0.1:8087
https : 127.0.0.1:8087
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics