关于使用OSGI工程的一些总结

java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini)

解决方案: 在eclipse.init中最下面加入 -Dosgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
   方案引用地址: http://stackoverflow.com/questions/2493415/i-am-getting-a-following-error-while-launching-my-eclipse

osgi> SLF4J: Class path contains multiple SLF4J bindings

    这个问题官网上有说明  我的CASE是  有一个bundle里的大JAR包中包含了另一个bundle的一个小jar包的全部包名,  解决方案是:把小jar包删除,在manifest.mf中导入大jar包名 


猜你喜欢

转载自201206135726.iteye.com/blog/1988016
今日推荐