2011-03-15 3 views
1

obr deploy 명령이 실패 할 때 오류 메시지를 읽는 방법은 무엇입니까?Apache Felix obr deploy 오류 메시지

 
-> 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 

어떻게 위의 메시지를 읽을 수 : 다음은 예입니다? 실제로 만족하지 못하는 것은 무엇입니까?

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

다음 당신은 아마 일부 서비스를 실행하지 않아도 :

org.osgi.service.event.EventHandler 

그리고 당신은 아마 필요한 자바 -을 필요는 없습니다

+0

문제가 해결 되었습니까? 나는 당신이 어떻게 그것을 고칠 수 있었는지 알고 싶습니다 - 그리고 내 추측이 좋았다면? :-) – drozzy

답변

0

나는 당신의 OBR 패키지 누락되어 있다고 가정 런타임 :

J2SE-1.5 

나는 일반적으로 첫 번째 누락 된 패키지를 가져 와서 해결하려고합니다. 그 오류를 제거하면, 나는 계속 간다. 그렇지 않다면 osgi 런타임에 문제가 있습니다. 배포를 수행하는 데 필요한 번들이 없을 수도 있습니다.

+0

이것은 정확하지 않습니다. 오류 메시지는 OBR이 종속성을 찾을 수 없기 때문에 번들을 배포 할 수 없다고 말합니다.하지만 적어도 내 경우에는 종속성이 모두 있고 OBR도이 오류 메시지를 인쇄하고 있습니다 ... 이유를 찾으려고합니다. – Renato