jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chetan mehrotra <chetan.mehro...@gmail.com>
Subject Re: Error trying jackrabbit examples: "method <init>(I)V not found" running FirstHop example
Date Fri, 09 Sep 2011 05:56:21 GMT
Looks like there is an older version of commons-collections jar. What is the
version of commons-collection jar is present in your webapp.?

It should be 3.2.1

Chetan Mehrotra


On Fri, Sep 9, 2011 at 11:20 AM, Markus Meixner <
markus.meixner@optimizeit.ch> wrote:

> Hi everybody
>
> It would be really nice if you could help me out. I am running the first
> hops example "FirstHop". First I tried to link all required libs from
> the jackrabbit webapp jar, then I did just link the
> jackrabbit-standalone-2.2.8.jar as suggested.
>
> Doesnt matter which one I tried, It is always coming up with the same
> error:
>
>
> INFO  2011-09-08 21:54:19 [main] (RepositoryImpl.java:279) - Starting
> repository...
> INFO  2011-09-08 21:54:19 [main] (LocalFileSystem.java:164) -
> LocalFileSystem initialized at path repository/repository
> INFO  2011-09-08 21:54:20 [main] (NodeTypeRegistry.java:856) - no custom
> node type definitions found
> INFO  2011-09-08 21:54:20 [main] (LocalFileSystem.java:164) -
> LocalFileSystem initialized at path repository/version
> INFO  2011-09-08 21:54:21 [main] (RepositoryImpl.java:1997) -
> initializing workspace 'default'...
> INFO  2011-09-08 21:54:21 [main] (LocalFileSystem.java:164) -
> LocalFileSystem initialized at path repository/workspaces/default
> INFO  2011-09-08 21:54:21 [main] (RepositoryImpl.java:1077) - Shutting
> down repository...
> INFO  2011-09-08 21:54:21 [main] (DerbyConnectionHelper.java:94) -
> Database 'repository/version/db' shutdown.
> INFO  2011-09-08 21:54:21 [main] (RepositoryImpl.java:1177) - Repository
> has been shutdown
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.commons.collections.ArrayStack: method <init>(I)V not found
>        at
> org.apache.commons.collections.BufferUtils.<clinit>(BufferUtils.java:41)
>        at
>
> org.apache.jackrabbit.core.observation.ObservationDispatcher.<init>(ObservationDispatcher.java:87)
>        at
>
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:2047)
>        at
>
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1998)
>        at
>
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:533)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:342)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605)
>        at
>
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232)
>        at
>
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
>        at
>
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
>        at
>
> org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:111)
>        at ch.optimizeit.qamweb.control.RepoTest.main(RepoTest.java:26)
>
>
> Any help is appreciated.
>
> Thanks a lot
>
> Markus
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message