Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 98287 invoked from network); 21 Sep 2008 00:10:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2008 00:10:23 -0000 Received: (qmail 90840 invoked by uid 500); 21 Sep 2008 00:10:18 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 90823 invoked by uid 500); 21 Sep 2008 00:10:18 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 90812 invoked by uid 99); 21 Sep 2008 00:10:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Sep 2008 17:10:18 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Sep 2008 00:09:18 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KhCWM-0002gc-Lb for users@jackrabbit.apache.org; Sat, 20 Sep 2008 17:09:50 -0700 Message-ID: <19590285.post@talk.nabble.com> Date: Sat, 20 Sep 2008 17:09:50 -0700 (PDT) From: xing007008 To: users@jackrabbit.apache.org Subject: Re: Repository startup error In-Reply-To: <17914330.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: xing007008@163.com References: <17914330.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I Got the same error, and I used the version lucene-core-2.2.0.jar and jackrabbit-core-1.4.jar. How should I do to fix the error. AdamR wrote: > > Hi there, > > Quick question from a Jackrabbit novice. I'm attempting to run Jackrabbit > from Spring using spring-modules-jcr, and I've yet to get the repository > to start properly. > > Any thoughts on my latest NoSuchMethodError? > > Cheers, > Adam > > ERROR ContextLoader - Context initialization failed > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'repository' defined in class path resource > [applicationContext.xml]: Invocation of init method failed; nested > exception is java.lang.NoSuchMethodError: > org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(Lorg/apache/jackrabbit/spi/Name;)Lorg/apache/jackrabbit/core/nodetype/EffectiveNodeType; > Caused by: > java.lang.NoSuchMethodError: > org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(Lorg/apache/jackrabbit/spi/Name;)Lorg/ > apache/jackrabbit/core/nodetype/EffectiveNodeType; > at > org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.init(AbstractBundlePersistenceManager.java:416) > at > org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:556) > at > org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:257) > at > org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1175) > at > org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:354) > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:282) > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:573) > -- View this message in context: http://www.nabble.com/Repository-startup-error-tp17914330p19590285.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.