2009-02-04 16 views
32

Ich klicke auf Update in Eclipse und ich bekomme einen Fehler, weil ich Eclipse mehr als einmal aktualisiert habe. Gibt es eine Möglichkeit, Eclipse zu reparieren und die Möglichkeit zu haben, update zu verwenden?Fehler beim Aktualisieren der Eclipse

 
An error occurred while collecting items to be installed 
    No repository found containing: org.eclipse.jem/osgi.bundle/2.0.202.v200810282000 
    No repository found containing: org.eclipse.jem.workbench/osgi.bundle/2.0.102.v200810230530 
    No repository found containing: org.eclipse.jpt.core/osgi.bundle/2.1.0.v200812160210 
    No repository found containing: org.eclipse.jpt.doc.user/osgi.bundle/1.0.300.v200812110000 
    No repository found containing: org.eclipse.jpt.eclipselink.core/osgi.bundle/1.1.0.v200812110000 
    No repository found containing: org.eclipse.jpt.eclipselink.core.ddlgen/osgi.bundle/1.0.100.v200811030000 
    No repository found containing: org.eclipse.jpt.eclipselink.feature/org.eclipse.update.feature/2.1.0.v200812180210-318Y9oA55S8_795555 
    No repository found containing: org.eclipse.jpt.eclipselink.ui/osgi.bundle/1.1.0.v200812100000 
    No repository found containing: org.eclipse.jpt.feature/org.eclipse.update.feature/2.1.0.v200812180210-7979AgCYQCD4IRJdCEDC 
    No repository found containing: org.eclipse.jpt.ui/osgi.bundle/2.1.0.v200812080000 
    No repository found containing: org.eclipse.jst.common.frameworks/osgi.bundle/1.1.201.v200810161330 
    No repository found containing: org.eclipse.jst.ejb.doc.user/osgi.bundle/1.1.100.v200810092245 
    No repository found containing: org.eclipse.jst.ejb.ui/osgi.bundle/1.1.203.v200810010400 
    No repository found containing: org.eclipse.jst.enterprise_core.feature/org.eclipse.update.feature/3.0.3.v200810010400-42E_4_kE77c_FAP7X99 
    No repository found containing: org.eclipse.jst.enterprise_ui.feature/org.eclipse.update.feature/3.0.3.v200810010400-7Y7BFSrEPOwQPnUuwhYV60NEQtTn 
    No repository found containing: org.eclipse.jst.enterprise_userdoc.feature/org.eclipse.update.feature/3.0.3.v200810131754-52EFBAgI99mAV9oGIHb 
    No repository found containing: org.eclipse.jst/org.eclipse.update.feature/3.0.3.v200809250443-7U-9-9LJGGJebgG8HYgv5FBP0NUr 
    No repository found containing: org.eclipse.jst.j2ee/osgi.bundle/1.1.204.v200811130630 
    No repository found containing: org.eclipse.jst.j2ee.core/osgi.bundle/1.1.202.v200811111600 
    No repository found containing: org.eclipse.jst.j2ee.ejb/osgi.bundle/1.1.203.v200811060500 
    No repository found containing: org.eclipse.jst.j2ee.jca/osgi.bundle/1.1.203.v200811060900 
    No repository found containing: org.eclipse.jst.j2ee.navigator.ui/osgi.bundle/1.1.202.v200810222000 
    No repository found containing: org.eclipse.jst.j2ee.ui/osgi.bundle/1.1.204.v200811041823 
    No repository found containing: org.eclipse.jst.j2ee.web/osgi.bundle/1.1.202.v200811060500 
    No repository found containing: org.eclipse.jst.j2ee.webservice.ui/osgi.bundle/1.1.201.v200811062130 
    No repository found containing: org.eclipse.jst.jee/osgi.bundle/1.0.102.v200811060500 
    No repository found containing: org.eclipse.jst.jee.ejb/osgi.bundle/1.0.102.v200810230722 
    No repository found containing: org.eclipse.jst.jee.ui/osgi.bundle/1.0.103.v200811131900 
    No repository found containing: org.eclipse.jst.jee.web/osgi.bundle/1.0.101.v200810230738 
    No repository found containing: org.eclipse.jst.jsp.core/osgi.bundle/1.2.120.v200810301812 
    No repository found containing: org.eclipse.jst.jsp.ui/osgi.bundle/1.1.311.v200810210016 
    No repository found containing: org.eclipse.jst.server.core/osgi.bundle/1.1.2.v20080930 
    No repository found containing: org.eclipse.jst.server.tomcat.core/osgi.bundle/1.1.104.v20081006 
    No repository found containing: org.eclipse.jst.server_adapters.feature/org.eclipse.update.feature/3.0.3.v20081006b-787KEKFDUUEFDFrPa7AMQ 
    No repository found containing: org.eclipse.jst.server_core.feature/org.eclipse.update.feature/3.0.3.v20080930b-377Ap9oA55S5N_C35AC 
    No repository found containing: org.eclipse.jst.server_ui.feature/org.eclipse.update.feature/3.0.3.v20081001-79-EDn9wKSZRCCNQMfVnIG8BHD 
    No repository found containing: org.eclipse.jst.servlet.ui/osgi.bundle/1.1.203.v200810222000 
    No repository found containing: org.eclipse.jst.web_core.feature/org.eclipse.update.feature/3.0.3.v200810020322-7M7AEX2EFp_acwkiuz-bTpl 
    No repository found containing: org.eclipse.jst.web_ui.feature/org.eclipse.update.feature/3.0.3.v200810020322-7E4EArDgvY1en0e_Bm21-ljvz00c 
    No repository found containing: org.eclipse.jst.ws.axis.consumption.core/osgi.bundle/1.0.306.v200810082309 
    No repository found containing: org.eclipse.jst.ws.axis.consumption.ui/osgi.bundle/1.0.305.v200809301934 
    No repository found containing: org.eclipse.jst.ws.axis2.core/osgi.bundle/1.0.104.v200810151442 
    No repository found containing: org.eclipse.jst.ws.axis2tools.feature/org.eclipse.update.feature/1.0.2.v200810151341-77-E_ECYQCD4FdMjLXVW 
    No repository found containing: org.eclipse.jst.ws.consumption/osgi.bundle/1.0.306.v200810012118 
    No repository found containing: org.eclipse.jst.ws.consumption.ui/osgi.bundle/1.1.3.v200810012118 
    No repository found containing: org.eclipse.jst.ws.consumption.ui.doc.user/osgi.bundle/1.0.500.v200810082020 
    No repository found containing: org.eclipse.jst.ws.creation.ui/osgi.bundle/1.0.307.v200810012118 
    No repository found containing: org.eclipse.wst.command.env/osgi.bundle/1.0.307.v200810082309 
    No repository found containing: org.eclipse.wst.common.emf/osgi.bundle/1.1.203.v200811022047 
    No repository found containing: org.eclipse.wst.common.emfworkbench.integration/osgi.bundle/1.1.202.v200811131900 
    No repository found containing: org.eclipse.wst.common.frameworks/osgi.bundle/1.1.201.v200811060900 
    No repository found containing: org.eclipse.wst.common.frameworks.ui/osgi.bundle/1.1.201.v200810020330 
    No repository found containing: org.eclipse.wst.common.modulecore/osgi.bundle/1.1.204.v200811062000 
    No repository found containing: org.eclipse.wst.common.project.facet.core/osgi.bundle/1.3.4.v200810151458 
    No repository found containing: org.eclipse.wst.common.ui/osgi.bundle/1.1.302.v200810160107 
    No repository found containing: org.eclipse.wst.common_core.feature/org.eclipse.update.feature/3.0.3.v200809301154-7C7_EVIE_EkMNrTtU7X4h2 
    No repository found containing: org.eclipse.wst.common_ui.feature/org.eclipse.update.feature/3.0.3.v200809301154-7C78ELcE8VrRVouGlyiT4DsUuV8Y 
    No repository found containing: org.eclipse.wst/org.eclipse.update.feature/3.0.3.v200809250443-7A-8i8Qqcz0FaVgjXSD6brFQN64Z 
    No repository found containing: org.eclipse.wst.html.core/osgi.bundle/1.1.203.v200810291731 
    No repository found containing: org.eclipse.wst.html.ui/osgi.bundle/1.0.302.v200810291731 
    No repository found containing: org.eclipse.wst.jsdt.core/osgi.bundle/1.0.103.v200811042159 
    No repository found containing: org.eclipse.wst.jsdt.doc/osgi.bundle/1.0.103.v200810081720 
    No repository found containing: org.eclipse.wst.jsdt.feature/org.eclipse.update.feature/1.0.3.v200810020426-6-E73BcMAAwFIFUHpRJ 
    No repository found containing: org.eclipse.wst.jsdt.support.firefox/osgi.bundle/1.0.103.v200810021840 
    No repository found containing: org.eclipse.wst.jsdt.support.ie/osgi.bundle/1.0.103.v200810021840 
    No repository found containing: org.eclipse.wst.jsdt.ui/osgi.bundle/1.0.103.v200810301820 
    No repository found containing: org.eclipse.wst.jsdt.web.core/osgi.bundle/1.0.103.v200810021840 
    No repository found containing: org.eclipse.wst.jsdt.web.support.jsp/osgi.bundle/1.0.103.v200810081720 
    No repository found containing: org.eclipse.wst.jsdt.web.ui/osgi.bundle/1.0.103.v200810021840 
    No repository found containing: org.eclipse.wst.server.core/osgi.bundle/1.1.2.v20081020 
    No repository found containing: org.eclipse.wst.server.ui/osgi.bundle/1.1.3.v20080930 
    No repository found containing: org.eclipse.wst.server.ui.doc.user/osgi.bundle/1.1.100.v200810082048 
    No repository found containing: org.eclipse.wst.server_core.feature/org.eclipse.update.feature/3.0.3.v20080930b-20Al8s733I48671256 
    No repository found containing: org.eclipse.wst.server_ui.feature/org.eclipse.update.feature/3.0.3.v20080930b-791CO9vESQmvbHKYENNI76CH 
    No repository found containing: org.eclipse.wst.server_userdoc.feature/org.eclipse.update.feature/3.0.100.v200810082053-108Y7w311921193159 
    No repository found containing: org.eclipse.wst.sse.ui/osgi.bundle/1.1.3.v200810301815 
    No repository found containing: org.eclipse.wst.validation/osgi.bundle/1.2.3.v200811101716 
    No repository found containing: org.eclipse.wst.validation.ui/osgi.bundle/1.2.2.v200810221105 
    No repository found containing: org.eclipse.wst.web/osgi.bundle/1.1.205.v200811132030 
    No repository found containing: org.eclipse.wst.web_core.feature/org.eclipse.update.feature/3.0.3.v200810010400-7G2EAsAM214fK_RKaovH35PiPtaH 
    No repository found containing: org.eclipse.wst.web_ui.feature/org.eclipse.update.feature/3.0.3.v200810010400-7R0EOzE8Ks9uCz0nqrQF6yCFSQyI 
    No repository found containing: org.eclipse.wst.ws.explorer/osgi.bundle/1.0.308.v200811062250 
    No repository found containing: org.eclipse.wst.ws_core.feature/org.eclipse.update.feature/3.0.3.v200810012109-7H7QECgED69XqKg9nufm2_7C5J 
    No repository found containing: org.eclipse.wst.ws_ui.feature/org.eclipse.update.feature/3.0.3.v200810012109-7E2EFVC-2f_FDJhnGKZmULIbsTaU 
    No repository found containing: org.eclipse.wst.ws_userdoc.feature/org.eclipse.update.feature/3.0.2.v200810081944-34EDe9oA55S6I5S8KCS 
    No repository found containing: org.eclipse.wst.ws_wsdl14.feature/org.eclipse.update.feature/1.4.1.v200809302010-13-7w311917141518 
    No repository found containing: org.eclipse.wst.ws_wsdl15.feature/org.eclipse.update.feature/1.5.2.v200809302010-1407w311917141519 
    No repository found containing: org.eclipse.wst.wsdl/osgi.bundle/1.1.202.v200809291819 
    No repository found containing: org.eclipse.wst.wsdl.ui/osgi.bundle/1.2.103.v200810301738 
    No repository found containing: org.eclipse.wst.wsdl.ui.doc.user/osgi.bundle/1.0.501.v200810081958 
    No repository found containing: org.eclipse.wst.xml.core/osgi.bundle/1.1.306.v200810210016 
    No repository found containing: org.eclipse.wst.xml.ui/osgi.bundle/1.0.420.v200810220345 
    No repository found containing: org.eclipse.wst.xml_core.feature/org.eclipse.update.feature/3.0.3.v200810021802-7A7NEH0E7QYGHNIxPlGgVY 
    No repository found containing: org.eclipse.wst.xml_ui.feature/org.eclipse.update.feature/3.0.3.v200809292000-7F2ENZCwum8U9-9yPhHnPkSb2VAc 
    No repository found containing: org.eclipse.wst.xml_userdoc.feature/org.eclipse.update.feature/3.0.3.v200810090336-40EJs_kE77c8P_TALGS 
    No repository found containing: org.eclipse.wst.xmleditor.doc.user/osgi.bundle/1.0.500.v200810081958 
    No repository found containing: org.eclipse.wst.xsd.core/osgi.bundle/1.1.302.v200810020300 
    No repository found containing: org.eclipse.wst.xsd.ui/osgi.bundle/1.2.104.v200810020602 
    No repository found containing: org.eclipse.jpt.db/osgi.bundle/1.2.0.v200810300000 
    No repository found containing: org.eclipse.jpt.db.ui/osgi.bundle/1.1.0.v200808210000 
    No repository found containing: org.eclipse.jpt.gen/osgi.bundle/1.2.0.v200810080000 
    No repository found containing: org.eclipse.jpt.utility/osgi.bundle/1.3.0.v200811030000 
    No repository found containing: org.eclipse.jst.ws/osgi.bundle/1.0.306.v200810020426 
    No repository found containing: org.eclipse.jst.ws.axis2.consumption.core/osgi.bundle/1.0.104.v200810151442 
    No repository found containing: org.eclipse.jst.ws.axis2.creation.core/osgi.bundle/1.0.104.v200810151442 
+0

Danke für den "akzeptierten Status". Können Sie uns sagen, welcher Rat/Workaround in Ihrem Fall den Trick bewirkt hat? – VonC

Antwort

34

Welche Version von Eclipse verwenden Sie?

Es wurde fixed in 3.4.1, aber in Ihrem Fall könnte es this bug instead sein.

Es stellt sich heraus, dass ein oder mehrere Artefakt-Repositorys aus der Liste der bekannten Repositories verloren gegangen sind.

Die Problemumgehung besteht darin, das Repository aus der Liste zu entfernen und es erneut hinzuzufügen. Dies stellt das fehlende Artefakt-Repository wieder her.


Eine mögliche Abhilfe in Eclipse 3.4.1:

1) zu bookmarks.xml Datei, um den Update-Site-Eintrag exportieren (Software Updates->Manage sites->Export)
2) stoppen
3) configuration/.settings/org.eclipse.equinox.p2.*.prefs Dateien entfernen Eclipse
(Hinweis, wie von in den Kommentaren erwähnt, für Eclipse3.5 + wäre dies:

p2\org.eclipse.equinox.p2.engine\profileRegistry\SDKProfile.profile\.data\.setti‌​ngs)
4) starten
5) importieren Sie die bookmarks.xml Datei (Software Updates->Manage sites->Import) verdunkeln, die in Schritt 1

von mark (Autor dieser Antwort) in den Kommentaren dieser Antwort Wie bereits erwähnt exportiert wurde, Diese Problemumgehung war eine Lösung für sein Problem.


Weitere Hinweise:

[...] die Lösung ist immer ein nachlauf '/'-alle Repository URLs in meinem P2 UI anhängen.
Mein Gefühl ist, dass dieser Fehler durch einen Fehler verursacht wird, eine brauchbare URL zu einer Repo-Ressource zu erstellen. Der betreffende Code ist Inspektion nicht die URL-Zeichenfolge von der Benutzeroberfläche und ein abschließendes ‚/‘ was zu einer

Diese letzte Lösung 404 unter der Annahme in Eclipse Indigo und Juno bestätigt arbeiten (unten in den Kommentaren).

+0

thx, obwohl ich Eclipse neu installieren muss. – IAdapter

+0

Ich benutzte die "remove .. org.eclipse.equinox.p2 ..." – IAdapter

+0

yay! Der Workaround hat funktioniert! – Epaga

1

Ich hatte das gleiche Problem (sehr ähnlich, wie ich gerade versucht habe, Subklipse zu installieren). VonCs Tipp "Other advice" hat es für mich getan.

  1. Export Websites
  2. bearbeiten diese Datei und fügen Sie einen Schrägstrich am Ende jeder URL bookmarks.xml, wo es fehlt.
  3. Alle Seiten löschen
  4. Lesezeichen erneut importieren.xml
  5. Seufzen mit Erleichterung, wie es funktioniert.
0

Ich hatte das gleiche Problem. Nach dem Exportieren und Importieren von Lesezeichen wurde das Problem nicht gelöst. , aber ich habe den Fehler 'Verbindung abgelehnt' erhalten.

Bei weiteren Gedanken fand ich, dass mein Antivirenprogramm es nicht erlaubt, dass Eclipse mit dem Internet kommuniziert. Das Deaktivieren von Antivirus hat es funktioniert.

Sandeep Jindal

1

Das Backslash-Ding in der exportierten Lesezeichen-Datei hat es für mich behoben.

11

Noch eine andere Lösung -

Statt alle verwalteten Websites exportieren und auf ‚Bearbeiten‘ auf jeder Seite überprüft zurück, Klick importieren und ‚//‘ am Ende

hinzufügen Wenn Sie nur hinzufügen ‚/‘ sagt, es doppelte Website daher die ‚//‘

Wie ein kleiner Fehler in einer riesigen sorgfältig architected Anwendung kann so hart sein, dennoch einfach zu debuggen

zu lösen
+0

funktioniert nicht für mich :( – momomo

+0

Arbeitete, danke! –

+0

Arbeitete für mich für Spring Tool Suite 4.2.2. Ich musste nur einen doppelten Schrägstrich am Ende der Frühjahrsrepo hinzufügen, aber es fügte jetzt ein anderes identisches Frühjahr Repo ich sehe Solange es funktioniert, nehme ich an ... – Nemi

3

Obwohl diese Frage eine lange zurück beantwortet wird, wollte ich meine Erfahrungen teilen denken, dass es einige ein Tag retten kann :)

Manchmal könnte es auch aufgrund der falschen Proxy-Einstellungen möglich sein. In meinem Fall (Eclipse-3.6/Helios), Eclipse-Einstellungsdatei $ECLIPSE_HOME$/configuration/.settings/org.eclipse.core.net.prefs ist Proxy-Details mit,

proxyData/HTTP/hasAuth=true 
systemProxiesEnabled=true 
proxyData/HTTP/host=proxy.domain.net 
org.eclipse.core.net.hasMigrated=true 
eclipse.preferences.version=1 
proxiesEnabled=true 
proxyData/HTTP/port=9119 
nonProxiedHosts= 

Wenn ich die Datei nach dem Schließen der Eclipse-gelöscht, da an ich bin in der Lage, die Plug-in

+0

funktioniert nicht für mich :( – momomo

+0

Dies ist ein möglicher Grund und wie von anderen beantwortet gibt es viele andere Gründe, die das genannte Problem verursachen. – manikanta

0

ich zum Download hatte ein ähnliches Problem in den letzten paar Monaten, aber ignorierte es, bis ich wirklich PyDev brauchte, um heute an meinem Laptop zu arbeiten.

habe ich versucht, die oben genannten Lösungen ohne Erfolg und dann fand ich etwas merkwürdig:

In (Window-> Einstellungen-> Install/Update-> Verfügbare Software) ich, dass das Feld für 'PyDev Update Site' bemerkt UND eine andere direkt darunter mit dem Ort 'file:/updates' wurde überprüft, was zu einem Duplikat der meisten oder aller Update-URLs führte. Nachdem ich das Kästchen mit dem Ort 'file:/updates' abgehakt hatte, konnte ich von (Hilfe-> Nach Updates suchen) aktualisieren, welches dann die neueste Version von PyDev erfolgreich installiert hat.

Diese Lösung ist möglicherweise nicht nur auf PyDev-Updates anwendbar und könnte hoffentlich anderen mit ähnlichen Problemen helfen.

0

Ich hatte gerade das gleiche Problem, ich habe meine ZoneAlarm Firewall gedämmt, und es verbunden OK!

Gibt es eine Art von Regel, die ich in meine Firewall hinzufügen muss, um zu verhindern, dass sie Eklipse blockiert? Es hat nie so etwas getan, alles funktionierte bis letzte Woche (25. September (ish) 2012)

0

In meinem Fall wurde das Problem verursacht durch zwei Update-Sites für STS, von denen eine Obsolote und nicht mehr verfügbar. Beide waren vorhanden und wurden in Install/Available Software Sites überprüft.

Lösung war einfach: Deaktivieren der Website, die nicht verfügbar war. Verfügbare Update-Sites für M sind hier aufgelistet: https://spring.io/tools/sts/all.

Verwandte Themen