Problem using alfresco opencmis extension with maven repo

439 views
Skip to first unread message

Čedomir Šuljagić

unread,
Apr 19, 2014, 2:58:53 PM4/19/14
to alfresco-open...@googlegroups.com
Hi,

I am using alfresco opencmis extension in my app successfully as lib added to project in eclipse, but now I decided to migrate to maven. When i start my web app on test tomcat 7 server with oracle java 7 (same as eclipse dev platform configuration) I am getting error:

Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/TransientCmisObject

All jars are in wars WEB-INF/lib and I have no clue where to look for the resolution of this problem. Alfresco opencmis extension 0.7 is added to local maven repo, and chemistry opencmis ver 11.0 is added as dependency form maven central repo. I am aware that this is not directly related to alfresco opencmis extension, but TransientCmisObject is labeled as deprecated so maybe this is related somehow to the issue.

Any help is highly appreciated.


Charlie Ho

unread,
Jun 11, 2014, 10:43:28 AM6/11/14
to alfresco-open...@googlegroups.com
Hi,

 I used opencmis extension 0.9. I have the same issue. Did you find a solution?

Thanks

njla...@gmail.com

unread,
Jun 27, 2014, 12:22:30 PM6/27/14
to alfresco-open...@googlegroups.com
Unfortunately, I don't have a solution, but I can confirm that I have the same problem.  Digging into the Extension 0.9 jar, the OpenCMIS dependency is listed as 0.10.0.  I believe the Extension is just not yet compatible with OpenCMIS 0.11.0.

I initially asked Alfresco when an update could be expected and they told me that they don't have any input or support for the Extension and to consult this page.  I was a little bothered by that response given that Alfresco features the Extension in their documentation (http://docs.alfresco.com/4.1/concepts/opencmis-ext-intro.html) yet does not mention any lack of support.
Reply all
Reply to author
Forward
0 new messages