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] [Commented] (JCR-2932) Not fully compatible with Lucene 3.x
Date Sun, 27 Mar 2011 21:46:05 GMT

    [ https://issues.apache.org/jira/browse/JCR-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011854#comment-13011854
] 

Joseph Vychtrle commented on JCR-2932:
--------------------------------------

It's that org.apache.jackrabbit.core.query.lucene.SearchIndex still depends on the org.apache.lucene.search.HitCollector;
I haven't noticed ... Are you planning to remove it from the next release ?

> 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.0.0, 2.2.4
>            Reporter: Joseph Vychtrle
>              Labels: classnotfoundexception, lucene
>
> 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