且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Eclipse Photon-Eclipse Marketplace无法启动

更新时间:2023-01-08 21:33:10

我设法找到了问题并加以解决。我去了:
帮助->关于Eclipse IDE->单击安装详细信息->选项卡配置->单击查看错误日志



默认浏览器打开,我注意到以下堆栈跟踪:

 !ENTRY org.eclipse.ui 4 0 2018- 06-28 10:38:21.036 
!MESSAGE未处理的事件循环异常
!STACK 0
org.eclipse.e4.core.di.InjectionException:java.lang.IllegalArgumentException:非法字符索引16的路径:file:/ C:/ Eclipse Photon / eclipse / configuration /
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)

这是我命名的文件夹中的空格字符: Eclipse Photon。我将其重命名为 EclipsePhoton,并且市场成功打开。



简短的回答:请确保Eclipse安装文件路径中没有空格。 / strong>


I just installed Eclipse Photon. I migraded one project from Oxygen to it - everything is working fine.

The problem I noticed is that I cannot open the Eclipse Marketplace. Whenever I click on it, I get the loading circle for 1-2 seconds then nothing happens.

I also tried this on a completely new empty workspace (so no old .metadata) - same behavior. I also restarted PC - didn't help.

Any ideas? Is it me only that has this problem or is it a bug due to the new version?

Thanks.

I managed to find the problem and fix it. I went to: Help -> About Eclipse IDE -> clicked on "Installation Details" -> tab "Configuration" -> Clicked on "View Error Log"

The default browser opened and there I noticed the following stack trace:

!ENTRY org.eclipse.ui 4 0 2018-06-28 10:38:21.036
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: Illegal character in path at index 16: file:/C:/Eclipse Photon/eclipse/configuration/
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)

It was the space character in the folder named by me: "Eclipse Photon". I renamed it to "EclipsePhoton" and the marketplace opened successfully.

Short answer: Make sure you do not have any spaces in the Eclipse installation file path.