Atea - Hero's Grave

          面向?qū)ο螅_源,框架,敏捷,云計(jì)算,NoSQL,商業(yè)智能,編程思想。

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            40 隨筆 :: 0 文章 :: 28 評論 :: 0 Trackbacks
          使用"help" -> "Check for Updates", 選擇所有eclipse插件,升級。
          升級完重啟時(shí),發(fā)生錯誤,IDE啟動失敗,報(bào)出如下錯誤:
          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 閱讀(1796) 評論(0)  編輯  收藏 所屬分類: IDE
          主站蜘蛛池模板: 灵丘县| 金湖县| 开原市| 丰都县| 临海市| 北辰区| 六安市| 正安县| 沙湾县| 和田县| 宜宾市| 武穴市| 杨浦区| 三河市| 东乌珠穆沁旗| 沁水县| 兴义市| 苍梧县| 靖江市| 威信县| 清流县| 安西县| 桐柏县| 仁布县| 龙泉市| 廉江市| 洛浦县| 兴和县| 安福县| 岐山县| 昭苏县| 乌兰察布市| 平舆县| 贡嘎县| 张家口市| 耿马| 石嘴山市| 平安县| 兰州市| 兴安县| 宁化县|