Eclipse之photon版本插件市场无法打开之解决
摘要:笔者从eclipse官网下载了最新的J2EE开发版本:eclipse-jee-photon-R-win32-x86_64。打开之后发现marketplace也就是插件市场无法打开,总是一闪而过。
笔者从eclipse官网下载了最新的J2EE开发版本:eclipse-jee-photon-R-win32-x86_64。打开之后发现marketplace也就是插件市场无法打开,总是一闪而过。看了下日志:
Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 16: file:/E:/Program Files/eclipse_jee/eclipse-jee-photon-R-win32-x86_64/eclipse/configuration/ at java.net.URI.create(Unknown Source) at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceInfo.computeConfigurationAreaRegistryFile(MarketplaceInfo.java:445) at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceInfo.createRegistryFile(MarketplaceInfo.java:408) at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceInfo.load(MarketplaceInfo.java:341) at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceInfo.getInstance(MarketplaceInfo.java:330) at org.eclipse.epp.internal.mpc.ui.catalog.MarketplaceDiscoveryStrategy.<init>(MarketplaceDiscoveryStrategy.java:109) at org.eclipse.epp.internal.mpc.ui.wizards.MarketplaceWizard.initializeCatalog(MarketplaceWizard.java:922) at org.eclipse.epp.internal.mpc.ui.wizards.MarketplacePage.setVisible(MarketplacePage.java:831) at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1220) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:576) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096) at org.eclipse.jface.window.Window.open(Window.java:783) at org.eclipse.epp.internal.mpc.ui.commands.AbstractMarketplaceWizardCommand.openWizardDialog(AbstractMarketplaceWizardCommand.java:145) at org.eclipse.epp.internal.mpc.ui.commands.AbstractMarketplaceWizardCommand.execute(AbstractMarketplaceWizardCommand.java:72) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:93) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ... 36 more
度娘查了下,网上有反馈之前版本插件市场打不开的,但是造成的原因跟我这个都不一样,没办法只能自己解决了。仔细看了下报错,隐约感觉跟空格路径有关系,于是果断尝试将eclipse解压到不含空格的路径中,再次打开,ok,搞定了,还真是这个原因。
所以解决这个问题的方法就是:保证eclipse整体路径不能有空格。
不过说来也怪,他的上个版本也就是oxygen-3a是没有这个问题的。看来也是补了旧bug,然后出新bug。
双11云服务器热购推广(腾讯云):2核+4G内存+3M带宽=688元/3年(仅限新用户)
除非注明,文章均为草根java原创,转载请注明本文地址:
https://www.caogenjava.com/detail/102.html
上一篇:Eclipse中Cannot change version of project facet Dynamic web module to 2.5之解决
下一篇:windows下实现nginx开机启动
相关链接
-
1微信开发errcode:45015,errmsg:response out of time limit之完美解决
-
2archive is not a ZIP archive之解决
-
3火狐每次启动都弹出迅雷提示下载openh264之解决
-
4Eclipse中提示Could not find the main class之解决
-
5以小米6为例图说安卓手机如何安装谷歌四件套
-
6在微信中调用外部浏览器实现文件下载之解决
-
7java web项目代码不报错但是项目左上角有个红叉之解决
-
8Eclipse中svn资源库中文路径乱码解决
-
9万能方法用指定浏览器打开桌面上的网页快捷方式
-
10论坛注册:用户名包含被系统屏蔽的字符之完美解决
热门排行榜
-
1微信开发errcode:45015,errmsg:response out of time limit之完美解决
-
2archive is not a ZIP archive之解决
-
3火狐每次启动都弹出迅雷提示下载openh264之解决
-
4Eclipse中提示Could not find the main class之解决
-
5XML document structures must start and end within the same entity报错解决
-
6以小米6为例图说安卓手机如何安装谷歌四件套
-
7在微信中调用外部浏览器实现文件下载之解决
-
8U盘安装CentOS 7终极方案,简单有效
-
9POI合并单元格时CellRangeAddress类提示过时之解决
-
10java web项目代码不报错但是项目左上角有个红叉之解决