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 19896DD14 for ; Fri, 2 Nov 2012 15:33:17 +0000 (UTC) Received: (qmail 17539 invoked by uid 500); 2 Nov 2012 15:33:16 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 17479 invoked by uid 500); 2 Nov 2012 15:33:16 -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 17437 invoked by uid 99); 2 Nov 2012 15:33:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 15:33:16 +0000 Date: Fri, 2 Nov 2012 15:33:16 +0000 (UTC) From: "Piergiorgio Lucidi (JIRA)" To: dev@chemistry.apache.org Message-ID: <2054138326.60700.1351870396638.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (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 Piergiorgio Lucidi created CMIS-597: --------------------------------------- Summary: 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