AnsweredAssumed Answered

exception in jpotts CMIS API

Question asked by ashok on Aug 28, 2013
Latest reply on Oct 5, 2017 by Aleksey Bykov
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/TransientCmisObject
   at org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl.convertObject(AlfrescoObjectFactoryImpl.java:297)
   at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:415)
   at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getRootFolder(SessionImpl.java:490)
   at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getRootFolder(SessionImpl.java:484)
   at com.alfresco.cloud.example.BaseJavaExample.run(BaseJavaExample.java:133)
   at com.alfresco.cloud.example.GetSitesExample.main(GetSitesExample.java:30)
Caused by: java.lang.ClassNotFoundException: org.apache.chemistry.opencmis.client.api.TransientCmisObject
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   … 6 more


Iam getting above exception when iam trying to create folder in alfrsco cloud. Please let me know if anybody can solve it

Outcomes