tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Karasiuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-968) tika-bundle missing org.apache.commons.logging.LogFactory
Date Thu, 02 Aug 2012 17:46:02 GMT

    [ https://issues.apache.org/jira/browse/TIKA-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427480#comment-13427480
] 

Gary Karasiuk commented on TIKA-968:
------------------------------------

In looking through the class code for org.apache.pdfbox.pdfparser.BaseParser there is a reference
to org.apache.commons.logging.LogFactory in a static initializer.

static {};
      0  ldc_w <Class org.apache.pdfbox.pdfparser.BaseParser> [153]
      3  invokestatic org.apache.commons.logging.LogFactory.getLog(java.lang.Class) : org.apache.commons.logging.Log
[154]
      6  putstatic org.apache.pdfbox.pdfparser.BaseParser.LOG : org.apache.commons.logging.Log
[39]

I searched through all the nested files in the tika-bundle and could not find the org.apache.commons.logging.LogFactory
class.
                
> tika-bundle missing org.apache.commons.logging.LogFactory
> ---------------------------------------------------------
>
>                 Key: TIKA-968
>                 URL: https://issues.apache.org/jira/browse/TIKA-968
>             Project: Tika
>          Issue Type: Bug
>          Components: packaging
>    Affects Versions: 1.2
>            Reporter: Gary Karasiuk
>
> Trying to invoke the PDFParser from the tika-bundle results in this error:
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
> 	at org.apache.pdfbox.pdfparser.BaseParser.<clinit>(BaseParser.java:58)
> 	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1089)
> 	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1055)
> 	at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:123)
> 	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.CompositeParser.parse(CompositeParser.java:242)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> 	at org.apache.tika.Tika.parseToString(Tika.java:421)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message