在 Eclipse Luna 中安装插件时,“无法获取 PluginConverter 服务"和“未找到存储库"错误出现在日志中

2022-01-16 00:00:00 eclipse-plugin java eclipse

我正在使用 Luna 版本的 Eclipse EE eclipse-jee-luna-M1-win32-x86_64 并尝试放置 tomcat 插件 (EclipseTotale - com.sysdeo.eclipse.tomcat_3.3.0) 在 dropins 文件夹中.当tomcat图标没有出现时,我检查了eclipse日志,它显示:

I am using Luna version of Eclipse EE eclipse-jee-luna-M1-win32-x86_64 and trying to place the tomcat plugin (EclipseTotale - com.sysdeo.eclipse.tomcat_3.3.0) inside the dropins folder. When the tomcat icons didn't show up, I checked the eclipse logs, and it showed :

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2013-09-12 20:19:53.571
!MESSAGE Unable to acquire PluginConverter service during generation for: C:Programseclipse-jee-luna-M1-win32-x86_64eclipsedropinscom.sysdeo.eclipse.tomcat_3.3.0.

!ENTRY org.eclipse.equinox.p2.core 4 0 2013-09-12 20:19:53.581
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/C:/Programs/eclipse-jee-luna-M1-win32-x86_64/eclipse/dropins/com.sysdeo.eclipse.tomcat_3.3.0/.
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692)

同样的插件曾经完美地适用于 Juno(和 Kepler).有什么想法吗?

The same plugin used to work perfectly for Juno (and Kepler). Any ideas ?

推荐答案

万一其他人(比如我)试图安装一个在一段时间内不太可能更新的插件......

In case anyone else (like me) is trying to install a plugin that is unlikely to get updated for a while...

您可以从 Luna 更新存储库的Eclipse 测试、示例和附加"类别中添加旧版Eclipse 2.0"插件支持.请参阅此评论的附件,您最终可以通过从Dan Dar3 的答案中的链接.

You can add the legacy "Eclipse 2.0" plugin support from the "Eclipse Tests, Examples, and Extras" category in the Luna updates repository. See the attachment to this comment, which you can eventually find by tracing the breadcrumbs from the link in Dan Dar3's answer.

您也可以像这样从命令行添加旧插件支持:

You can also add the legacy plugin support like so from the command line:

./eclipse -nosplash -application org.eclipse.equinox.p2.director 
    -repository http://download.eclipse.org/eclipse/updates/4.4/ 
    -installIU org.eclipse.osgi.compatibility.plugins.feature.feature.group

之后,旧插件应该会成功安装.

After that, older plugins should install successfully.

相关文章