2012-08-14 122 views
0

我得到了一個錯誤也許我忘了一件事,但ServiceMix的不希望把正確的包名稱/符號名稱:的ServiceMix和包名稱/符號名稱

Command list : 
[ 221] [Active ] [] [] [ 60] mvn:org.emp.idewe.ipsi/esb-precube/1.2.2-SNAPSHOT 

Instead of : 
[ 221] [Active ] [] [] [ 60] Idewe:Esb-PreCube (1.2.2-SNAPSHOT) 

and command list -s : 
[ 221] [Active ] [] [] [ 60] no symbolic name 

我的MANIFEST.MF:

Manifest-Version: 1.0 
Export-Package: ... 
Tool: Bnd-0.0.357 
Bundle-Name: Idewe:Esb-PreCube 
Created-By: Apache Maven Bundle Plugin 
Bundle-Vendor: ... 
Build-Jdk: 1.6.0_29 
Bundle-Version: 1.2.2.SNAPSHOT 
Bnd-LastModified: 1344950093005 
Bundle-ManifestVersion: 2 
Bundle-Description: ... 
Import-Package: ... 
Bundle-SymbolicName: org.emp.idewe.ipsi.esb-precube 

和我的Feature.xml:

<feature name="Esb-PreCube.1.2.2-SNAPSHOT" version="1.2.2-SNAPSHOT"> 
    <feature>camel-spring</feature> 
    <bundle>mvn:org.emp.idewe.ipsi/esb-precube/1.2.2-SNAPSHOT</bundle> 
</feature> 

任何想法?

+0

也許你的清單不在正確的位置? – 2012-08-15 05:42:17

回答

0

看起來很像您的軟件包配置不正確,因爲軟件包符號名稱未解析。如果這個問題得到解決,Karaf/Servicemix會立即使用正確的名稱進行部署。