我試圖收集束,但得到一個錯誤: Caused by: java.lang.ClassNotFoundException: *** Package 'sun.misc' is not imported by bundle org.apache.camel.camel-core [12], nor is there any bundle that exports package 'sun.misc'.
我有一些不是osgi包的jar文件。我們稱之爲starter.jar。我以這種方式運行這個啓動器:java -jar starter.jar。此啓動程序啓動felix框架: Felix felix = new Felix(configMap);
systemBundle=felix.getBundle();
然後安裝並啓動導出某些服務的osgi軟件包。 所以starter在osgi容器之外,