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" <ben@benlitchfield.com>
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 <jpsb@verizon.net>:
> 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"
> <hossman_lucene@fucit.org>
> 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: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|