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 28BD4D7A6 for ; Tue, 13 Nov 2012 11:38:50 +0000 (UTC) Received: (qmail 74413 invoked by uid 500); 13 Nov 2012 11:38:48 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 74233 invoked by uid 500); 13 Nov 2012 11:38:48 -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 74188 invoked by uid 99); 13 Nov 2012 11:38:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 11:38:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebastian.danninger@googlemail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 11:38:40 +0000 Received: by mail-wi0-f172.google.com with SMTP id hm6so2720893wib.13 for ; Tue, 13 Nov 2012 03:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2pVn5abKjq0gBDiCE0l3VMY1RPummIPDGi3v5JISipk=; b=XutpbruQ1XZD1yO/husCYDxVUenYkkmkVT4NoL2o0d8KoKL8WMaEBlRNFpZwK6tos4 xbwYmrnLO+kO2tXDpZAR16K+4ywmXqxNi9FHxy0uxrYYTnFqWoaBsTIJQB3J95oV+akV h8QcUI2MRILHS8+kbsJedd/wu3rUdGiuPIJYA1KS9flra8IPycnxKRfbOxD10M0kTlAx pk9g84umZVepL8wYlgxkspn10o1aL4x2PznhjpIjTvNbRSzbO3JNzQOkfUifIyVhv/YM Um7SOZPxh7JSkBQ62xX46BQNjlVzXs0ypwwzAdmGDhSecjNJywo4+6fKaSuPQAinIR69 qk8g== MIME-Version: 1.0 Received: by 10.181.11.233 with SMTP id el9mr19803318wid.3.1352806700357; Tue, 13 Nov 2012 03:38:20 -0800 (PST) Received: by 10.180.107.9 with HTTP; Tue, 13 Nov 2012 03:38:20 -0800 (PST) In-Reply-To: <1254871189.60770.1351871712233.JavaMail.jiratomcat@arcas> References: <2054138326.60700.1351870396638.JavaMail.jiratomcat@arcas> <1254871189.60770.1351871712233.JavaMail.jiratomcat@arcas> Date: Tue, 13 Nov 2012 12:38:20 +0100 Message-ID: Subject: Re: [jira] [Commented] (CMIS-597) NoClassDefFoundError after upgrading to OpenCMIS 0.8.0 From: Sebastian Danninger To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=f46d043c08ecd3171604ce5eda2f X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c08ecd3171604ce5eda2f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I also get this error, changed from 0.6 to 0.8 2012/11/2 Florian M=FCller (JIRA) > > [ > https://issues.apache.org/jira/browse/CMIS-597?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13489502#c= omment-13489502] > > Florian M=FCller 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 Gate= In > > 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.clearA= llCaches(CmisBindingImpl.java:215) > > at > org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.= (CmisBindingImpl.java:129) > > at > org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCm= isAtomPubBinding(CmisBindingFactory.java:132) > > at > org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createAtom= PubBinding(CmisBindingHelper.java:97) > > at > org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBind= ing(CmisBindingHelper.java:55) > > at > org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getReposi= tories(SessionFactoryImpl.java:107) > > at > org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getReposi= tories(SessionFactoryImpl.java:96) > > at > org.alfresco.training.portals.cmis.portlets.CmisUtils.getCmisSession(Cmis= Utils.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 > --f46d043c08ecd3171604ce5eda2f--