Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 906D4DC4A for ; Fri, 16 Nov 2012 16:52:25 +0000 (UTC) Received: (qmail 85927 invoked by uid 500); 16 Nov 2012 16:52:25 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 84614 invoked by uid 500); 16 Nov 2012 16:52:17 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 82376 invoked by uid 99); 16 Nov 2012 16:52:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 16:52:13 +0000 Date: Fri, 16 Nov 2012 16:52:13 +0000 (UTC) From: "Gabriele Columbro (JIRA)" To: dev@chemistry.apache.org Message-ID: <1816792549.124557.1353084733554.JavaMail.jiratomcat@arcas> In-Reply-To: <2054138326.60700.1351870396638.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CMIS-597) NoClassDefFoundError after upgrading to OpenCMIS 0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498912#comment-13498912 ] Gabriele Columbro commented on CMIS-597: ---------------------------------------- Can you post the pom.xml of chemistry-opencmis-client-impl that you have in your local repo? Also can you post the output of mvn dependency:tree on your project? Artifacts are all there, so I imagine it might be a POM / transitive dependency issue. > 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.(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.(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} > > org.apache.chemistry.opencmis > chemistry-opencmis-client-impl > 0.8.0 > > {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