gpt4 book ai didi

macosx 上的 Eclipse : org. osgi.service.application.ApplicationException:找不到应用程序 ID

转载 作者:行者123 更新时间:2023-12-01 08:38:47 25 4
gpt4 key购买 nike

我的 macbook pro 和全新安装的 eclipse 出现问题。
经过几个小时的困惑,我想分享一下我得到的解决方案。

问题:启动 eclipse Helios 不起作用。将出现一个弹出窗口并建议查看日志文件 /Applications/eclipse/configuration/<xyz>.log其中包含:

!SESSION 2011-07-05 14:05:17.027 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/alessia/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/alessia/.eclipse_keyring -showlocation

!ENTRY org.eclipse.osgi 4 0 2011-07-05 14:05:18.260
!MESSAGE Application error
!STACK 1
org.osgi.service.application.ApplicationException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:262)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

原因:好像发生了解析异常,但是eclipse吃掉了,只生成了上面这些无用的信息。

操作系统版本: 系统版本:Mac OS X 10.6.8 (10K540) 内核版本: Darwin 10.8.0

我的 config.ini:

#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Mon May 30 12:48:24 CEST 2011
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.java
osgi.instance.area.default=@user.home/Documents/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
equinox.use.ds=true
eclipse.buildId=M20110210-1200
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.epp.package.java.product
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=@config.dir/../p2/
eclipse.application=org.eclipse.ui.ide.workbench

最佳答案

  1. 删除文件 /Application/eclipse/configuration/org.eclipse.core.runtime/.extraData.9/Application/eclipse/configuration/org.eclipse.core.runtime/.mainData.9
  2. 删除共享库文件夹中的所有 XML 解析器。就我而言,我在 /Library/Java/Extensions 中有 xercesImpl.jar。为了确定起见,我将目录的所有内容都移到了/tmp
  3. 重启eclipse
  4. 呼吸...现在应该可以了!
  5. /Library/Java/Extensions
  6. 中再次移动您的库

就是这样。希望对您有所帮助!

关于macosx 上的 Eclipse : org. osgi.service.application.ApplicationException:找不到应用程序 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6582849/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com