我试图在Apache Felix 4.2.1中安装并运行Apache Felix Web管理控制台(4.2.0),但它不起作用。在Apache Felix OSGI中安装并运行Web管理控制台
我已经安装了费利克斯的Http码头2.2.1捆绑,Felic配置管理服务1.8.0捆绑,日志服务1.0.1捆绑,1.3.2的EventAdmin捆绑和Felix的Web管理控制台4.2.0
当我尝试启动Web管理控制台,它说:
org.osgi.framework.BundleException:软件包 “org.apache.felix.webconsole_4.2.0 [29]” 无法得到解决。原因:缺少约束:导入包:org.apache.commons.fileupload;版本=“[1.2.0,2.0.0)”
我使用Java 1.6.0.26,Ubuntu 12.10!
[email protected]:/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 [email protected]: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!
问候
顺便说一句,我m不使用Eclipse。 – JonathanVila