Apache Felix Web 管理控制台部署失败

发布于 2024-11-07 02:14:34 字数 962 浏览 4 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

傲影 2024-11-14 02:14:34

看起来这选择了 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.

娇妻 2024-11-14 02:14:34

您可以尝试以下操作:

  1. list -v 这将为您提供有关捆绑包名称的更多详细信息;当您使用 list 时,您得到的只是捆绑包的描述,而不是符号名称。对于“Apache Felix Web 管理控制台”,符号名称为“org.apache.felix.webconsole”
  2. deploy org.apache.felix.webconsole 这将安装包含其依赖项的捆绑包。
  3. lb 检查一切是否正常。您应该会看到已安装的新捆绑包。
  4. 启动 Web 控制台捆绑包和 HTTP 服务捆绑包以便能够访问 Web 控制台。
  5. 将浏览器指向 http://localhost:8080/system/console/,您将看到 Web 控制台。

You can try this:

  1. list -v this will give you more details on the bundle names; what you get when you use list 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"
  2. deploy org.apache.felix.webconsole this will install the bundle with it's dependencies.
  3. lb to check if everything went OK. You should see the new bundles installed.
  4. Start the web console bundle and the HTTP Service bundle in order to be able to access the web console.
  5. Point your browser to http://localhost:8080/system/console/ and you will see the web console.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文