2014-11-06 66 views
0

我很苦惱這個問題。我在OSGI中使用vaadin 7(karaf 3.0.2)。 在安裝的軟件包列表中,vaadin-server和vaadin-shared狀態爲INSTALLED。雖然其他Vaadin包:vaadin-shared-deps,vaadin-themes,vaadin-client-compiled,vaadin-client都是ACTIVE。 請幫我解決這個問題,我真的很感激。vaadin-server,vaadin-shared軟件包安裝在OSGI(karaf 3.0.2)中

Error executing command: Error executing command on bundles: 
Unable to execute command on bundle 203: Unresolved constraint in bundle com.vaadin.shared [203]: Unable to resolve 203.0: missing requirement [203.0] osgi.wiring.package; (&(osgi.wiring.package=org.json)(version>=0.0.20131108.vaadin1)) 

Error executing command: Error executing command on bundles: 
Unable to execute command on bundle 117: Unresolved constraint in bundle com.vaadin.server [117]: Unable to resolve 117.0: missing requirement [117.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=com.vaadin.shared)(bundle-version>=7.3.2)) [caused by: Unable to resolve 203.0: missing requirement [203.0] osgi.wiring.package; (&(osgi.wiring.package=org.json)(version>=0.0.20131108.vaadin1))] 

回答

1

您缺少一個在版本> = 0.0.20131108.vaadin1中提供軟件包org.json的軟件包。 由於該版本的名稱中包含vaadin,我懷疑該包是在vaadin發行版中提供的。

+0

謝謝,所以我應該添加org.json依賴? – eabyshev 2014-11-07 08:37:01

+0

您必須找到包含此軟件包的軟件包,並將其安裝在OSGi中。 – 2014-11-07 08:42:45

+0

現在它是活躍的。 – eabyshev 2014-11-07 10:22:16