You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Mark Kerzner <ma...@gmail.com> on 2009/03/31 05:56:29 UTC

Another error

Hi,

I have been enjoying the useful responses, thank you. Here is one more file
that gives an exception below.

Sincerely,
Mark

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.poi.hssf.record.BOFRecord.getType()I
        at
org.apache.tika.parser.microsoft.ExcelExtractor$TikaHSSFListener.internalProcessRecord(ExcelExtractor.java:230)
        at
org.apache.tika.parser.microsoft.ExcelExtractor$TikaHSSFListener.processRecord(ExcelExtractor.java:213)
        at
org.apache.poi.hssf.eventusermodel.HSSFRequest.processRecord(HSSFRequest.java:137)
        at
org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents(HSSFEventFactory.java:143)
        at
org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents(HSSFEventFactory.java:98)
        at
org.apache.tika.parser.microsoft.ExcelExtractor.parse(ExcelExtractor.java:149)
        at
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:87)
        at
org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:108)
        at
org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:80)

Re: Another error

Posted by Mark Kerzner <ma...@gmail.com>.
Absolutely!
I have tried this command and got all the jars. Before I had to Google them,
download, put them in the right place, and never be sure that I've got the
right version.

Thank you,
Mark

On Thu, Apr 2, 2009 at 2:56 AM, Aaron Fulton <aa...@softhome.net>wrote:

>  I only way as a java newbie to get tika working (at all) was to issue "*
> mvn* *dependency*:*copy*-*dependencies*" after building tika as per the
> instructions on the tika project page.  Maybe this should be added to the
> quick start guide.
>
> Aaron
>
>
>
> Mark Kerzner wrote:
>
> Thank you, I am surely not using the right one.
>
> Which brings me to the question - how do I know which versions of jars to
> use?
>
> Thank you,
> Mark
>
> On Wed, Apr 1, 2009 at 6:15 PM, Jukka Zitting <ju...@gmail.com>wrote:
>
>> Hi,
>>
>> On Tue, Mar 31, 2009 at 5:56 AM, Mark Kerzner <ma...@gmail.com>
>> wrote:
>> > Exception in thread "main" java.lang.NoSuchMethodError:
>> > org.apache.poi.hssf.record.BOFRecord.getType()I
>>
>> That looks like a POI version mismatch. Which version of POI do you
>> have in your classpath? Tika 0.3 uses POI version 3.5-beta5.
>>
>> BR,
>>
>> Jukka Zitting
>>
>
> ------------------------------
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.285 / Virus Database: 270.11.35/2034 - Release Date: 04/01/09 06:06:00
>
>
>
>

Re: Another error

Posted by Aaron Fulton <aa...@softhome.net>.
I only way as a java newbie to get tika working (at all) was to issue 
"*mvn* *dependency*:*copy*-*dependencies*" after building tika as per 
the instructions on the tika project page.  Maybe this should be added 
to the quick start guide.

Aaron



Mark Kerzner wrote:
> Thank you, I am surely not using the right one.
>
> Which brings me to the question - how do I know which versions of jars 
> to use?
>
> Thank you,
> Mark
>
> On Wed, Apr 1, 2009 at 6:15 PM, Jukka Zitting <jukka.zitting@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     Hi,
>
>     On Tue, Mar 31, 2009 at 5:56 AM, Mark Kerzner
>     <markkerzner@gmail.com <ma...@gmail.com>> wrote:
>     > Exception in thread "main" java.lang.NoSuchMethodError:
>     > org.apache.poi.hssf.record.BOFRecord.getType()I
>
>     That looks like a POI version mismatch. Which version of POI do you
>     have in your classpath? Tika 0.3 uses POI version 3.5-beta5.
>
>     BR,
>
>     Jukka Zitting
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.285 / Virus Database: 270.11.35/2034 - Release Date: 04/01/09 06:06:00
>
>   

Re: Another error

Posted by Mark Kerzner <ma...@gmail.com>.
Thank you, I am surely not using the right one.

Which brings me to the question - how do I know which versions of jars to
use?

Thank you,
Mark

On Wed, Apr 1, 2009 at 6:15 PM, Jukka Zitting <ju...@gmail.com>wrote:

> Hi,
>
> On Tue, Mar 31, 2009 at 5:56 AM, Mark Kerzner <ma...@gmail.com>
> wrote:
> > Exception in thread "main" java.lang.NoSuchMethodError:
> > org.apache.poi.hssf.record.BOFRecord.getType()I
>
> That looks like a POI version mismatch. Which version of POI do you
> have in your classpath? Tika 0.3 uses POI version 3.5-beta5.
>
> BR,
>
> Jukka Zitting
>

Re: Another error

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Tue, Mar 31, 2009 at 5:56 AM, Mark Kerzner <ma...@gmail.com> wrote:
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.poi.hssf.record.BOFRecord.getType()I

That looks like a POI version mismatch. Which version of POI do you
have in your classpath? Tika 0.3 uses POI version 3.5-beta5.

BR,

Jukka Zitting