Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2482

java.lang.NoSuchMethodError at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:124)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.15
    • Fix Version/s: None
    • Component/s: core, parser
    • Labels:
      None
    • Environment:

      pdfbox 2.0.2 apachesolr 4.9.1

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cermar Marco Cerdelli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: