从内容模型和运行示例中查看源代码。我们正在使用5.1.1版本.SomeCoCMISDataCreator admin admin SomeCo白皮书测试。
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 :(得分:2)
以管理员身份登录Alfresco Share,点击“存储库”,点击“创建文件夹”,然后创建一个名为“SomeCo”的文件夹。