tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Cerdelli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2482) java.lang.NoSuchMethodError at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:124)
Date Fri, 20 Oct 2017 16:02:00 GMT
Marco Cerdelli created TIKA-2482:
------------------------------------

             Summary: java.lang.NoSuchMethodError at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:124)
                 Key: TIKA-2482
                 URL: https://issues.apache.org/jira/browse/TIKA-2482
             Project: Tika
          Issue Type: Bug
          Components: core, parser
    Affects Versions: 1.15
         Environment: pdfbox 2.0.2 apachesolr 4.9.1 
            Reporter: Marco Cerdelli


Hi,

when I try to index some PDF files I get the following exception

java.lang.NoSuchMethodError: org.apache.pdfbox.pdmodel.PDDocument.load(Ljava/io/InputStream;Z)Lorg/apache/pdfbox/pdmodel/PDDocument;
	at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:124)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
	at org.apache.solr.handler.dataimport.TikaEntityProcessor.nextRow(TikaEntityProcessor.java:140)
	at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:243)
	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:461)
	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:487)
	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:400)
	at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:315)
	at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:223)
	at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:411)
	at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:483)
	at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:464)

what I'm wrong about?!

Thanks



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message