2016-11-21 109 views
0

檢查內容模型和運行示例的源代碼。我們正在使用5.1.1版本。SomeCoCMISDataCreator admin admin SomeCo白皮書測試。SomeCoCMISDataCreator示例不起作用

https://github.com/jpotts/alfresco-developer-series/tree/master/content到露天分享

Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Object not found: /SomeCo 
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:473) 
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:619) 
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getObjectInternal(AbstractAtomPubService.java:842) 
    at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getObjectByPath(ObjectServiceImpl.java:628) 
    at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObjectByPath(SessionImpl.java:554) 
+0

你想在哪個文件夾中創建樣本數據?你確定它存在嗎? – Gagravarr

+0

運行此類之前我沒有創建任何文件夾。我是否需要創建「SomeCo」文件夾;如果是,那麼在哪裏創建?這些是傳遞給此類的參數SomeCoCMISDataCreator「admin admin SomeCo白皮書測試」 – user739115

回答

2

日誌作爲管理員,點擊「庫」,點擊「創建文件夾」,並創建一個名爲「SomeCo」文件夾中。