【发布时间】:2012-02-15 17:14:30
【问题描述】:
我在运行 Eclipse 时遇到问题。安装 3 个插件(来自 TeXlipse)后, 我有一个错误:
!ENTRY org.eclipse.osgi 4 0 2012-01-21 13:57:28.430
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry.
我尝试使用 eclipse -clean 运行它,但这没有帮助。
有没有办法从命令行恢复到以前的配置? 我用谷歌搜索了它,但只看到 IDE 中的 GUI 解决方案。我什至不确定该功能是否默认可用,或者它是一个附加插件。
如果我要手动删除已安装的插件,仅删除 eclipse/plugins 中的相应文件夹/文件就足够了吗?我看到两个新文件夹:
net.sourceforge.texlipse_1.5.0
de.vonloesch.pdf4eclipse.help_1.0.0.20111116150
还有两个文件:
de.vonloesch.pdf4Eclipse_1.0.1.201111161450.jar
org.bibsonomy.texlipseextension_0.1.0.jar
提前感谢您的帮助
p/s/ 我在Ubuntu 11.10 中运行Eclipse IDE for Parallel Application Developers (includes Incubating components),上面有SVN/EGit 插件。现在TeXlipse。
更新1:
我试图运行这样的东西:
./eclipse -application org.eclipse.equinox.p2.director -uninstallIU de.vonloesch.pdf4eclipse.help_1.0.0.201111161450 -profile epp.package.parallel
或
./eclipse -application org.eclipse.equinox.p2.director -revert 1327068337804 -profile epp.package.parallel
但它只是运行应用程序而不“听”命令行参数...
更新2:
当我尝试从 OSGi 控制台启动 p2 时,这就是我所拥有的(可以通过 ./eclipse -console -noexit 启动):
osgi> start 166
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.p2.console_1.0.300.v20110502-1955 [166]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.provisional.p2.director; version="0.0.0"
【问题讨论】:
标签: eclipse eclipse-plugin revert