我在啓動標準Eclipse Neon IDE時遇到問題。我使用Java jdk 1.8.0運行Eclipse Neon 1。重新啓動計算機後,Eclipse無法啓動(在上次使用期間沒有安裝新的插件/軟件)。我試着刪除.metadata/.plugins/
中的所有內容,但是它仍然無法啓動。請幫忙。由於配置異常,Eclipse Neon不會啓動
P.S.日誌的日期似乎已關閉;我不知道爲什麼,但這是這個日誌文件中唯一的!SESSION
。
以下是.metadata/.log
文件的部分副本。
!SESSION 2017-06-13 10:46:37.214 -----------------------------------------------
eclipse.buildId=4.6.1.M20160907-1200
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
This is a continuation of log file C:\Users\XXX\workspace\.metadata\.bak_0.log
Created Time: 2017-06-13 11:39:01.054
!ENTRY org.eclipse.equinox.p2.core 4 0 2017-06-13 11:39:01.054
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/modeling/emf/emf/updates/2.10.x/.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.fail(CachingRepositoryManager.java:330)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:233)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:453)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
.
.
.
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(Unknown Source)
... 21 more
!SUBENTRY 1 org.eclipse.jdt.core 4 985 2017-06-15 10:41:43.156
!MESSAGE Remote host closed connection during handshake
!STACK 0
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
.
.
.
更新
以管理員權限打開CMD和運行的是
> java -version
或
> java
後都報以
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
所以我想我的java安裝有些問題,而不是eclipse。