开发者

Install New Software on Eclipse not working on Mac

I have downloaded eclipse classic x86_64 3.7 cocoa on my Mac Intel Core 2 Duo with snow leopard 10.6.8

I have extracted and copied the eclipse directory to Applications folder. When run, I get following errors

System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.simpleRepository
java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientBrowseFileTransferFactory$1.sendBrowseRequest(HttpClientBrowseFileTransferFactory.java:53)
Error while reading from repository: http://download.eclipse.org/releases/indigo/site.xml.

I have following java version

java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (bu开发者_开发问答ild 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

I have tried with eclipse classic 32 and 64 bit versions, with both i have the same problem .

I have also tried tweaking around priority of java version (32 or 64) under Java preferences.


Deleting /Library/Java/Extensions/log4j-1.2.15.jar resolved the issue.


Incase you are using ubuntu instead and had this problem, just go

cd /usr/java/packages/lib/ext/
sudo rm log4j-1.2.15.jar
sudo rm slf4j-*


I also had this problem and had nothing under /Library/Java/Extensions You can notice that Eclipse reports: "The value will be overwritten using values from the preferences". So what you can do - visit Preferences > Network Connections and under 'Proxy Bypass' add Host: * This has resolved the issue for me.


I set this to solve the problem: http.sslVerify false in the egit config file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜