Cannot open Eclipse Marketplace Cannot install remote marketplace locations: Cannot resolve host

后端 未结 15 1772
一向
一向 2020-12-09 10:38

I am using eclipse Kepler version and trying to install Sonar plugin from Eclipse marketplace. But I am getting below error

Cannot open Eclipse Market

相关标签:
15条回答
  • 2020-12-09 11:00

    I tried all the suggestions but no success for Eclipse Mars, Neo and Oxygen At last it worked for Eclipse Oxygen when I added following line to eclipse.ini file

    -Djava.net.preferIPv4Stack=true
    
    0 讨论(0)
  • 2020-12-09 11:00

    Eclipse Oxygen version: Window->Preferences->network connections->default apply will reset the settings. restart eclipse and it should work

    0 讨论(0)
  • 2020-12-09 11:01

    I have tried all the possible suggestions given above but finally got answer for this : This may not be the right way to install the plugin but it worked for me and it served my purpose

    Open the below URL : http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=252148

    Open eclipse and drag the plugin from the above url drop on eclipse [on top near header]

    It will start downloading and eclipse will restart after successful installation.

    0 讨论(0)
  • 2020-12-09 11:03

    when launching, java application defaults to listening to ipv6 exclusively. Modify .ini configuration settings file present in the folder by adding -Djava.net.preferIPv4Stack=true below the -vmargs. This sets the java to prefer IPV4 stack.

    0 讨论(0)
  • 2020-12-09 11:03

    This usually happens when you have any proxy connection set in your network settings. You can check that in your Proxy Settings in Windows.

    Just copy the proxy host from there and add it in Proxy Bypass Host list inside

    • Window->Preferences->General->Network Connections
    • Then click on Apply & CLose.

    It should work perfectly.

    0 讨论(0)
  • 2020-12-09 11:04
    1. Open command prompt (windows start button, type cmd in search)
    2. Click top left of command prompt, click properties, enable quick edit mode
    3. Copy: setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
    4. Right click on command prompt, should paste
    5. Hit enter. That easy!
    0 讨论(0)
提交回复
热议问题