ok thnaks found FontBox/jar on the net, but now I see the included jars with pdfbox. I expected them to be in /lib not /external my bad. thanks again


jim s

----- Original Message ----- From: "Ben Litchfield" <[EMAIL PROTECTED]>
To: <java-user@lucene.apache.org>
Sent: Wednesday, June 06, 2007 6:14 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

Exception in thread "main" java.lang.NoClassDefFoundError:
org/bouncycastle/jce/provider/BouncyCastleProvider

seems my test pdf file is provider locked so I tried a Lucene pdf file 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: <java-user@lucene.apache.org>
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)) in the Lucene trunk -- that method use to exist, but
was replaced with Document.add(Fieldable) ... Field is an instance of
Fieldable so your code will compil and run, but binary class files which
were compiled against older versions of Lucene will not.

if you compile all of the PDFBox code from source, it might work ..
laternately you could use the version of Lucene that PDFBox was compiled
against.


-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to