我正在尝试在 Apache Felix 4.2.1 中安装和运行 Apache Felix Web 管理控制台 (4.2.0),但它不起作用。
我已经安装了 Felix Http Jetty 2.2.1 bundle、Felic Configuration Admin Service 1.8.0 bundle、Log Service 1.0.1 bundle、EventAdmin 1.3.2 bundle 和 Felix Web Management Console 4.2.0
当我尝试启动 Web 管理控制台时,它说:
org.osgi.framework.BundleException:无法解析捆绑包“org.apache.felix.webconsole_4.2.0 [29]”。原因:缺少约束:Import-Package: org.apache.commons.fileupload;版本="[1.2.0,2.0.0)"
我正在使用 Java 1.6.0.26、Ubuntu 12.10!
jonathan@JONATHAN:/datos/jonathan/Programas/apache-felix-framework-4.2.1$ java -jar bin/felix.jar
2013-10-22 16:38:37.389:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
2013-10-22 16:38:37.412:INFO:oejsh.ContextHandler:started o.e.j.s.ServletContextHandler{/,null}
____________________________
Welcome to Apache Felix Gogo
g! 2013-10-22 16:38:37.434:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8888
lb
START LEVEL 1
ID|State |Level|Name
0|Active | 0|OSGi System Bundle (3.7.2.v20120110-1415)
1|Active | 1|Apache Felix Bundle Repository (1.6.6)
2|Active | 1|Apache Felix Gogo Command (0.12.0)
3|Active | 1|Apache Felix Gogo Runtime (0.10.0)
4|Active | 1|Apache Felix Gogo Shell (0.10.0)
23|Active | 1|Apache Felix Configuration Admin Service (1.8.0)
24|Active | 1|Apache Felix Log Service (1.0.1)
26|Active | 1|Apache Felix Http Jetty (2.2.1)
27|Active | 1|Apache Felix EventAdmin (1.3.2)
29|Installed | 1|Apache Felix Web Management Console (4.2.0)
g! start 29
org.osgi.framework.BundleException: The bundle "org.apache.felix.webconsole_4.2.0 [29]" >could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.commons.fileupload; version="[1.2.0,2.0.0)"
g!
问候