12
votes

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 (build 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.

4
What happens when you don't move it to be under the Applications folder?nitind

4 Answers

27
votes

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

0
votes

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-*

0
votes

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.

-1
votes

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