我安裝了用於JavaScript的Eclipse IDE Web開發人員版本:Indigo Service Release 1 Build ID:20110916-0149,2011年,現在用於Java開發,但是當我右鍵單擊時可以看到沒有關於jUnit的菜單在一個java類上。 實際上,jUnit在菜單中無處顯示。jUnit on eclipse Indigo
在論壇發佈之後,我嘗試安裝JDT,因爲我知道這是包含jUnit的地方。但安裝失敗,因爲與已安裝的東西衝突...
你能幫忙嗎?
FRED
衝突細節:
I get : Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
Software currently installed: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
Only one of the following can be installed at once:
Java Development Tools Launching Support 3.5.0.v20090527 (org.eclipse.jdt.launching 3.5.0.v20090527)
Java Development Tools Launching Support 3.6.0.v20110509 (org.eclipse.jdt.launching 3.6.0.v20110509)
Java Development Tools Launching Support 3.6.1.v20110803_r371 (org.eclipse.jdt.launching 3.6.1.v20110803_r371)
Java Development Tools Launching Support 3.5.1.v20100108_r352 (org.eclipse.jdt.launching 3.5.1.v20100108_r352)
Java Development Tools Launching Support 3.6.1.v20111006_r372 (org.eclipse.jdt.launching 3.6.1.v20111006_r372)
Cannot satisfy dependency:
From: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
To: org.eclipse.jdt.launching [3.6.1.v20110803_r371]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
To: org.eclipse.jdt.launching [3.6.1.v20111006_r372]
你能發佈你得到的錯誤消息嗎? – user2339071
請看第一條消息更新。謝謝。 –
您是否已經安裝了JDT?...您可以嘗試切換到Java視角嗎? – saurav