Eclipse OSGi Bundle Console Exception -
i using eclipse juno run osgi. while running not able see console , getting below error:
i'm trying run bundle osgi framework got following output , don't know mistake:
!session 2015-08-05 17:54:16.831 ----------------------------------------------- eclipse.buildid=unknown java.version=1.7.0_65 java.vendor=oracle corporation bootloader constants: os=win32, arch=x86_64, ws=win32, nl=en_us command-line arguments: -console -configuration runtime !entry org.eclipse.osgi 4 0 2015-08-05 17:54:17.182 !message not find bundle: unknown !stack 0 org.osgi.framework.bundleexception: not find bundle: unknown @ org.eclipse.core.runtime.internal.adaptor.consolemanager.checkforconsolebundle(consolemanager.java:58) @ org.eclipse.core.runtime.adaptor.eclipsestarter.startup(eclipsestarter.java:331) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:231) @ org.eclipse.core.runtime.adaptor.eclipsestarter.main(eclipsestarter.java:208) !entry org.eclipse.osgi 4 0 2015-08-05 17:54:17.198 !message application error !stack 1 java.lang.illegalstateexception: unable acquire application service. ensure org.eclipse.core.runtime bundle resolved , started (see config.ini). @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:78) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235) @ org.eclipse.core.runtime.adaptor.eclipsestarter.main(eclipsestarter.java:208)
please help.
you need expose services in manifest.mf, file located meta-inf directory, can use plugin of maven work automatically:
http://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html
Comments
Post a Comment