jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Repository startup error
Date Tue, 17 Jun 2008 15:52:27 GMT
Weird, since both classes (AbstractBundlePersistenceManager and
NodeTypeRegistry) are in the same jackrabbit-core jar.

Which version of Jackrabbit are you using (ie. which version of the
jackrabbit-core.jar)?

Regards,
Alex

On Tue, Jun 17, 2008 at 5:13 PM, AdamR <adam.ross@runbox.com> 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.<init>(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-tp17914330p17914330.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>


-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message