开发者

Apache Felix obr deploy error messages

开发者 https://www.devze.com 2023-02-17 03:22 出处:网络
How to read error messages when obr deploy command fails? Here is an example: -> obr deploy configuration-exporter

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.c开发者_Go百科ollect))
      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?


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消