Bug#459437: liblucene-java: Missing dependency when using liblucene

Michael Koch konqueror at gmx.de
Sun Jan 6 17:29:31 UTC 2008


On Sun, Jan 06, 2008 at 02:32:25PM +0000, Alastair McKinstry wrote:
> Package: liblucene-java
> Version: 1.4.3.dfsg-1.2
> Severity: normal
> 
> I am using liblucene with pyblosxom. I get the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.lucene.util.Arrays
>   at BlosxomIndexer.indexDocs(BlosxomIndexer.java:163)
>   at BlosxomIndexer.indexDocs(BlosxomIndexer.java:157)
>   at BlosxomIndexer.main(BlosxomIndexer.java:111)
> 
> when running:
> 
> cd /srv/www/blog.sceal.ie
> # java -cp /home/twl/pyblog/lib/lucene-1.2/lucene-demos-1.2.jar:/home/twl/pyblog/lib/lucene-1.2/lucene-1.2.jar:/og/bin BlosxomIndexer 
> -create -ind
> ex /srv/www/index .
> java -cp 
> /srv/www/pyblosxom/plugins/lucene/bin:/usr/share/java/lucene-demos-1.4.3.jar:/usr/share/java/lucene-1.4.3.jar:/srv/www/pyblosxom/plugins/
> lucene/bin BlosxomIndexer -create -index /srv/www/index .
> 
> 
> where is the util.Arrays class ? 

This class was removed from lucene in 2003 (1). Pyblosxom should be
updated to not use this class as recent lucene version. This is not a
bug in the packaging. Closing this bug. Please reopen if you still think
that we should do something about it.


Cheers,
Michael


1: http://osdir.com/ml/jakarta.lucene.devel/2003-12/msg00149.html





More information about the pkg-java-maintainers mailing list