Apache Felix obr 部署错误消息

发布于 2024-10-22 05:15:20 字数 847 浏览 2 评论 0原文

obr部署命令失败时如何读取错误消息? 这是一个例子:

 
-> obr deploy configuration-exporter
Unsatisfied requirement(s):
---------------------------
   (&(package=com.google.common.collect))
      RoutingService :: DAO
   (&(package=com.sybase365.routingservice))
      ARF :: Service Bundle :: Configuration Exporter
   (&(package=com.google.common.base))
      RoutingService :: DAO
   (service=org.osgi.service.event.EventHandler)
      Apache Felix EventAdmin
   (&(package=com.google.common.base))
      ARF :: Service Bundle :: Configuration Exporter
   (|(ee=J2SE-1.5))
      Guava: Google Core Libraries for Java 1.5
   (&(package=com.google.common.collect))
      ARF :: Service Bundle :: Configuration Exporter
   (service=org.osgi.service.event.EventHandler)
      Apache Felix EventAdmin

如何阅读上面的消息?其实还有什么不满足的呢?

How to read error messages when obr deploy command fails?
Here is an example:

 
-> obr deploy configuration-exporter
Unsatisfied requirement(s):
---------------------------
   (&(package=com.google.common.collect))
      RoutingService :: DAO
   (&(package=com.sybase365.routingservice))
      ARF :: Service Bundle :: Configuration Exporter
   (&(package=com.google.common.base))
      RoutingService :: DAO
   (service=org.osgi.service.event.EventHandler)
      Apache Felix EventAdmin
   (&(package=com.google.common.base))
      ARF :: Service Bundle :: Configuration Exporter
   (|(ee=J2SE-1.5))
      Guava: Google Core Libraries for Java 1.5
   (&(package=com.google.common.collect))
      ARF :: Service Bundle :: Configuration Exporter
   (service=org.osgi.service.event.EventHandler)
      Apache Felix EventAdmin

How to read the above message? What is actually unsatisfied?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

短暂陪伴 2024-10-29 05:15:20

我假设您的 obr 缺少软件包:

com.google.common.collect
com.sybase365.routingservice
com.google.common.base
com.google.common.base
com.google.common.collect

然后您可能没有运行某些服务:

org.osgi.service.event.EventHandler

并且您可能没有所需的 java 运行时:

J2SE-1.5

我通常采用第一个丢失的软件包 - 并尝试解决它。如果它消除了这个错误,我就会继续下去。如果没有 - 那么你的 osgi 运行时有问题。也许您缺少一些部署所需的捆绑包?

I assume that your obr is missing packages:

com.google.common.collect
com.sybase365.routingservice
com.google.common.base
com.google.common.base
com.google.common.collect

and then you probably don't have some services running:

org.osgi.service.event.EventHandler

and you probably don't have the required java-runtime:

J2SE-1.5

I usually take the first missing package - and try to resolve it. If it gets rid of that error, I keep going. If not - then something is wrong with your osgi runtime. Perhaps your are missing some bundles that it needs in order to do the deploy?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文