Java Eclipse IDE - Repository Errors

后端 未结 12 1047
无人共我
无人共我 2021-02-01 06:34

I\'ve been up for hours now, searching online for a solution. I can happily say, this has really pissed me off.

Upon opening \'Install New Software\' I get \"\'Contactin

相关标签:
12条回答
  • 2021-02-01 07:03

    I had the same problem. And found solution on russia site. In file eclipse.ini under line -vmargs add this line:

    -Djava.net.preferIPv4Stack=true
    

    This will resolve problem.

    Site with explanation

    0 讨论(0)
  • 2021-02-01 07:06

    I have encountered the same problem. I have resolved disabling the site using:

    WindowPreferencesInstall/UpdateAvailable software Site

    Here the site that can be used have a tick (enabled). You must find the site that caused the problems and disabled them.

    I hope this could be useful.

    0 讨论(0)
  • 2021-02-01 07:11

    I had the same issue, to resolve it, I preformed the following steps:

    • Made sure the internal browser was able to connect to the internet.
    • Window/preferences
    • install/update
    • available Software sites

    click on each row that is checked, one at a time and at the bottom right side of the window it will tell you if the resource is available or not. If that resource is not available then uncheck it. I then added the following resource site and this was able to fix the error. Name:Composite Marketplace Repository Location:http://marketplace.eclipse.org/repo

    HOPE THIS HELPS...

    0 讨论(0)
  • 2021-02-01 07:12

    This is a shot in the dark and might not help but, have you tried the following:

    Can you connect to internet at all through Eclipse?

    • Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
    • Look up any normal adress, is it working?

    Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?

    What are your proxy preferences? Go to Window -> preferences -> General: Network connections.

    The active provider:

    Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.

    If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.

    I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.

    This is a copy and paste from this post.

    0 讨论(0)
  • 2021-02-01 07:14

    My Eclipse Installation:

    • SuSE Linux Enterprise Server 11.
    • Eclipse Neon 64-bit
    • Oracle JDK jdk1.8.0_51 64-bit

    I worked out and followed many of the suggestions in the web and nothing helped. Except that one:

    • In eclipse Go to "Window -> preferences -> General: Network connections" and set the "Aktiv Source" to "Native"
    • Exit eclipse
    • In the shell prompt, type

    • "export http_proxy=http://proxy-rzf:8080" (your own proxy server and port)

    • invoke eclipse

    DONE!!!

    If you then go to the eclipse "Network connections" settings you will see something like the image:

    I hope i could help somebody with that. It cost me a lot of hours searching and trying.

    0 讨论(0)
  • 2021-02-01 07:15

    I was having the same problem and I checked my proxy setting for all the browsers which was installed ......... One of the browser(IE 8 for my case ) was using the proxy setting to execute the testing sites of the company ........... I unchecked that one ......... restarted my eclipse and now its working fine ..........

    0 讨论(0)
提交回复
热议问题