chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Danninger <sebastian.dannin...@googlemail.com>
Subject Re: [jira] [Commented] (CMIS-597) NoClassDefFoundError after upgrading to OpenCMIS 0.8.0
Date Tue, 13 Nov 2012 11:38:20 GMT
I also get this error, changed from 0.6 to 0.8


2012/11/2 Florian Müller (JIRA) <jira@apache.org>

>
>     [
> https://issues.apache.org/jira/browse/CMIS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489502#comment-13489502]
>
> Florian Müller commented on CMIS-597:
> -------------------------------------
>
> I cannot reproduce this exception.
> Nothing has changed here from 0.7.0 to 0.8.0.
>
> > 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message