jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Meixner <markus.meix...@optimizeit.ch>
Subject Re: Error trying jackrabbit examples: "method <init>(I)V not found" running FirstHop example
Date Fri, 09 Sep 2011 08:06:00 GMT
Thanks for help: I did use commens-collections-3.2.1.jar.

I found as well this:
http://www.mail-archive.com/user@commons.apache.org/msg00261.html

People had same error message and were advised to use the
commons-beanutils.jar, version 1.7.0 instead of the newest 1.8.0.

I tried this, but it didnt help either.

Thanks for your help again.

Markus


On 09.09.2011 07:56, chetan mehrotra wrote:
> 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
View raw message