當我運行OSGi框架並在運行配置中選擇很少的軟件包時,Eclipse(Oxygen)會啓動所有可用軟件包併發出一堆錯誤。第一個是:OSGi不會啓動選定的軟件包
!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/or[email protected]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
顯示您的config.ini文件內容。這將存儲在配置區域文件夾中。在運行配置中檢查配置選項卡。 –
不要縮短內容,而是編輯您的文章並添加問題本身的全部內容而不是評論。 –
謝謝先生@ChandrayyaGK! – user4887042