Apache Felix Web 管理控制台部署失败
Apache Felix Web 管理控制台部署因未满足要求而失败。这是日志:
$ java -jar bin/felix.jar
____________________________
Welcome to Apache Felix Gogo
g! repos list
http://incubator.apache.org/sling/obr/sling.xml
http://sling.apache.org/obr/repository.xml
http://incubator.apache.org/sling/obr/thirdparty.xml
http://felix.apache.org/obr/releases.xml
g! deploy -s "Apache Felix Web Management Console"
Unsatisfied requirement(s):
---------------------------
(&(package=org.apache.commons.fileupload))
Apache Felix Web Management Console
(&(package=org.apache.commons.io))
Apache Felix Web Management Console
(&(package=org.apache.commons.fileupload.servlet))
Apache Felix Web Management Console
(&(package=org.apache.commons.fileupload.disk))
Apache Felix Web Management Console
(&(package=org.json))
Apache Felix Web Management Console
如上所述,我尝试添加一些其他存储库来帮助解决问题。
有什么已知的解决方法吗?
Apache Felix Web Management Console deploy fails with Unsatisfied requirement(s). Here is the log:
$ java -jar bin/felix.jar
____________________________
Welcome to Apache Felix Gogo
g! repos list
http://incubator.apache.org/sling/obr/sling.xml
http://sling.apache.org/obr/repository.xml
http://incubator.apache.org/sling/obr/thirdparty.xml
http://felix.apache.org/obr/releases.xml
g! deploy -s "Apache Felix Web Management Console"
Unsatisfied requirement(s):
---------------------------
(&(package=org.apache.commons.fileupload))
Apache Felix Web Management Console
(&(package=org.apache.commons.io))
Apache Felix Web Management Console
(&(package=org.apache.commons.fileupload.servlet))
Apache Felix Web Management Console
(&(package=org.apache.commons.fileupload.disk))
Apache Felix Web Management Console
(&(package=org.json))
Apache Felix Web Management Console
As per above I tried adding some other repositories to help with the resolution.
Any known workarounds?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来这选择了 WebConsole 的“裸”版本,它不包含各种依赖项。您可能想尝试使用“org.apache.felix.webconsole”作为名称,以通过符号名称选择 Web 控制台。
Looks like this selects the "bare" version of the WebConsole which does not include various dependencies. You might want to try "org.apache.felix.webconsole" as the name to select the Web Console by the symbolic name.
您可以尝试以下操作:
list -v
这将为您提供有关捆绑包名称的更多详细信息;当您使用list
时,您得到的只是捆绑包的描述,而不是符号名称。对于“Apache Felix Web 管理控制台”,符号名称为“org.apache.felix.webconsole”deploy org.apache.felix.webconsole
这将安装包含其依赖项的捆绑包。lb
检查一切是否正常。您应该会看到已安装的新捆绑包。http://localhost:8080/system/console/
,您将看到 Web 控制台。You can try this:
list -v
this will give you more details on the bundle names; what you get when you uselist
is only the description of the bundle not it's symbolic name. In case of the "Apache Felix Web Management Console" the symbolic name is "org.apache.felix.webconsole"deploy org.apache.felix.webconsole
this will install the bundle with it's dependencies.lb
to check if everything went OK. You should see the new bundles installed.http://localhost:8080/system/console/
and you will see the web console.