Atea - Hero's Grave

          面向對象,開源,框架,敏捷,云計算,NoSQL,商業智能,編程思想。

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            40 隨筆 :: 0 文章 :: 28 評論 :: 0 Trackbacks
          使用"help" -> "Check for Updates", 選擇所有eclipse插件,升級。
          升級完重啟時,發生錯誤,IDE啟動失敗,報出如下錯誤:
          org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
              at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:
          806)

          Caused by: java.lang.IllegalStateException: The System Bundle could not be resolved: Another singleton version selected: org.eclipse.osgi_3.
          6.2.R36x_v20110210
              at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:
          752)

          Root exception:
          java.lang.IllegalStateException: The System Bundle could not be resolved: Another singleton version selected: org.eclipse.osgi_3.
          6.2.R36x_v20110210
              at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:
          752)

          解決辦法:

          修改文件 "ECLIPSE_HOME\configuration\config.ini"

          osgi.bundles=reference\:file\:org.eclipse.osgi_3.6.2.R36x_v20110210.jar@4,reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1\:start
          改為
          osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar@1\:start

          PS:
          完整配置文件如下:
          #This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
          #Wed Mar 
          09 13:22:22 CST 2011
          org.eclipse.update.reconcile
          =false
          eclipse.p2.profile
          =epp.package.jee
          osgi.instance.area.
          default=@user.home/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.platform.ide
          osgi.splashPath
          =platform\:/base/plugins/org.eclipse.platform
          osgi.framework.extensions
          =
          eclipse.application
          =org.eclipse.ui.ide.workbench
          eclipse.p2.data.area
          =@config.dir/../p2/
          osgi.bundles.defaultStartLevel
          =4

          http://atealxt.appspot.com/article/20110309/eclipse_cannot_startup_when_update_to_helios_SR2.html

          posted on 2011-03-09 16:17 Atea 閱讀(1805) 評論(0)  編輯  收藏 所屬分類: IDE
          主站蜘蛛池模板: 荃湾区| 大连市| 凤翔县| 永平县| 乐山市| 称多县| 新宁县| 龙岩市| 施秉县| 视频| 晴隆县| 台湾省| 尖扎县| 盐城市| 山阳县| 视频| 屯门区| 丰都县| 三台县| 闽清县| 扶余县| 靖江市| 淮安市| 喀喇沁旗| 冀州市| 司法| 乃东县| 师宗县| 佳木斯市| 山西省| 新龙县| 宣恩县| 大城县| 吴川市| 汉沽区| 东乌珠穆沁旗| 乳山市| 拉孜县| 华宁县| 泾川县| 宁安市|