当我在运行配置中选择了很少的包启动 OSGi 框架时,Eclipse (Oxygen) 反而会启动所有可用的包并喷出一堆错误。第一个是:
!ENTRY org.eclipse.epp.mpc.ui 4 0 2017-04-13 09:46:50.669
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.epp.mpc.ui [1142]
我在捆绑包列表中总共有 1252 个捆绑包,但ss
返回了 1256 个捆绑包。谁能解释为什么会这样?
添加:config.ini
osgi.bundles=reference\:file\:/home/../workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.simpleconfigurator_1.1.200.v20160504-1450.jar@1\:start
org.eclipse.update.reconcile=false
osgi.bundles.defaultStartLevel=4
osgi.install.area=file\:/home/../workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool
osgi.framework=file\:/home/../workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar
org.eclipse.equinox.simpleconfigurator.configUrl=file\:/home/../workspace/.metadata/.plugins/org.eclipse.pde.core/stable-test/org.eclipse.equinox.simpleconfigurator/bundles.info
osgi.configuration.cascaded=false