lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Lucene in Action : example code -> document-parsing framework ...
Date Mon, 17 Oct 2005 14:09:29 GMT
Do you have the file in the classpath?
-----Original Message-----
From: Patricio Galeas <>
Sent: Mon, 17 Oct 2005 15:50:46 +0200
Subject: Lucene in Action : example code -> document-parsing framework ...

Hi ALL, 
I try to run the an example of the "Lucene in Action" book : 
Chapter 7: Parsing Common Document Formats: 
I have downloaded all the source code from 
and create a java project in Lucene 3.1. 
I become the following error message when the PDF document is indexed : 
Indexing E:\Galeas\downloads\LuceneInAction\LuceneInAction\src\lia\handlingtypes\data\addressbook-entry.xml

log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).

log4j:WARN Please initialize the log4j system properly. 
Indexing E:\Galeas\downloads\LuceneInAction\LuceneInAction\src\lia\handlingtypes\data\addressbook.xml

Indexing E:\Galeas\downloads\LuceneInAction\LuceneInAction\src\lia\handlingtypes\data\HTML.html

Indexing E:\Galeas\downloads\LuceneInAction\LuceneInAction\src\lia\handlingtypes\data\MSWord.doc

Indexing E:\Galeas\downloads\LuceneInAction\LuceneInAction\src\lia\handlingtypes\data\PDF.pdf

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger 
  at org.pdfbox.pdfparser.BaseParser.<clinit>( 
  at lia.handlingtypes.pdf.PDFBoxPDFHandler.parseDocument( 
  at lia.handlingtypes.pdf.PDFBoxPDFHandler.getDocument( 
  at lia.handlingtypes.framework.ExtensionFileHandler.getDocument(

  at lia.handlingtypes.framework.FileIndexer.index( 
  at lia.handlingtypes.framework.FileIndexer.index( 
  at lia.handlingtypes.framework.FileIndexer.main( 
Have anybody some idea ?? 
Thank You 
To unsubscribe, e-mail: 
For additional commands, e-mail: 

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