我已經通過WSO2 DOC了: https://docs.wso2.com/display/Governance460/Changing+Storage+Location+of+Services如何更改服務的存儲位置WSO2 governancy註冊表
當我改變服務的regisrty.xml文件的位置。
<staticConfiguration>
<versioningProperties>true</versioningProperties>
<versioningComments>true</versioningComments>
<versioningTags>true</versioningTags>
<versioningRatings>true</versioningRatings>
<!-- Location you want to add service and default location will be /services/ -->
<servicePath>/trunk/services/mylocation</servicePath>
</staticConfiguration>
時曾經試圖註冊服務投擲以下異常:
錯誤{} org.wso2.carbon.governance.api.common.GovernanceArtifactManager - 無法添加神器:神器ID:153b122e-5b4f -4e8e-bbe0-e7934da571d0,路徑:/ trunk/services/mylocation/sample/com/myservice。資源不存在於path/_system/governance/trunk/services/sample/com org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:資源不存在於路徑/ _system/governance/trunk/services/sample/COM
如何解決錯誤提前
謝謝...
希望下面的答案幫助你解決問題?如果你有任何疑問,請告訴我們。 – tkr 2016-05-30 11:50:37