jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Vychtrle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-2932) Not fully compatible with Lucene 3.x
Date Sat, 26 Mar 2011 21:36:05 GMT
Not fully compatible with Lucene 3.x 
-------------------------------------

                 Key: JCR-2932
                 URL: https://issues.apache.org/jira/browse/JCR-2932
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: indexing
    Affects Versions: 2.2.4, 2.0.0
            Reporter: Joseph Vychtrle


Hey,

there is a Lucene's HitCollector runtime dependency when instantiating org.apache.jackrabbit.core.SearchManager,
but HitCollector was removed from Lucene 3.x version.

 [junit] java.lang.NoClassDefFoundError: org/apache/lucene/search/HitCollector
    [junit]     at java.lang.Class.forName0(Native Method)
    [junit]     at java.lang.Class.forName(Class.java:247)
    [junit]     at org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:177)
    [junit]     at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:631)
    [junit]     at org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(RepositoryConfig.java:1032)
    [junit]     at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:174)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:630)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl.access$100(RepositoryImpl.java:124)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1860)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2095)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:2000)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:533)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:342)
    [junit]     at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605)
    [junit]     at org.apache.jackrabbit.core.TransientRepository$3.getRepository(TransientRepository.java:250)
    [junit]     at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
    [junit]     at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
........................................ omitted......................................................

    [junit]     at junit.extensions.TestSetup.run(TestSetup.java:27)
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.lucene.search.HitCollector
    [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [junit]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message