You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/06/20 16:14:20 UTC
[jira] [Resolved] (CMIS-597) NoClassDefFoundError after upgrading
to OpenCMIS 0.8.0
[ https://issues.apache.org/jira/browse/CMIS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-597.
---------------------------------
Resolution: Not A Problem
> NoClassDefFoundError after upgrading to OpenCMIS 0.8.0
> ------------------------------------------------------
>
> Key: CMIS-597
> URL: https://issues.apache.org/jira/browse/CMIS-597
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.8.0
> Environment: Mac OS X Snow Leopard upgrading a portlet for GateIn
> Reporter: Piergiorgio Lucidi
>
> I tried to upgrade the OpenCMIS Client library from 0.7.0 to 0.8.0, but it returns the following exception:
> {code}
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.chemistry.opencmis.client.bindings.cache.impl.CacheImpl
> at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryInfoCache.<init>(RepositoryInfoCache.java:54)
> at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.clearAllCaches(CmisBindingImpl.java:215)
> at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.<init>(CmisBindingImpl.java:129)
> at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisAtomPubBinding(CmisBindingFactory.java:132)
> at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createAtomPubBinding(CmisBindingHelper.java:97)
> at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBinding(CmisBindingHelper.java:55)
> at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:107)
> at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96)
> at org.alfresco.training.portals.cmis.portlets.CmisUtils.getCmisSession(CmisUtils.java:79)
> ... 115 more
> {code}
> It seems that including only the usual opencmis-client-impl dependency in the pom.xml is not enough for getting all the needed resources.
> {code}
> <dependency>
> <groupId>org.apache.chemistry.opencmis</groupId>
> <artifactId>chemistry-opencmis-client-impl</artifactId>
> <version>0.8.0</version>
> </dependency>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira