4 PM
Subject: Re: Indexing PDF document
you need to include the both the bouncy castle jars and FontBox jar.
Both are included with the PDFBox distribution.
Ben
Quoting jim shirreffs <[EMAIL PROTECTED]>:
Thanks I rebuilt PDFbox and got past that problem but now I am getting
Exc
- Original Message - From: "Chris Hostetter"
<[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 06, 2007 5:33 PM
Subject: Re: Indexing PDF document
: Exception in thread "main" java.lang.NoSuchMethodError:
: org.apache.lucene.document.Document.add(Lo
: rg/apach
e and
got
java.lang.NoClassDefFoundError: org/fontbox/afm/AFMParser
googling trying to find the jar that contains AFMPaser
thanks for the help
jim s
- Original Message -
From: "Chris Hostetter" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 06, 2007 5:33 PM
Subject: Re: Indexing PDF document
:
: Exception in thread "main" java.lang.NoSuchMethodError:
: org.apache.lucene.document.Document.add(Lo
: rg/apache/lucene/document/Field;)V
: Very strange since the exception is NoSuchMethod Document.add(Field)
I *believe* the problem is that there is actually no such method
(Document.add(Field
PDFBox and
I get the same error my modified Lucene demo code gets.
C:\PDFBox-0.7.3\classes>java
org.pdfbox.searchengine.lucene.IndexFiles -create -index c:\index c:\test
root=c:\test
Skipping c:\test\HTMLParser.java
Skipping c:\test\SearchFiles.java
Indexing PDF document: c:\test\doc.