Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08AAA11A6B for ; Thu, 10 Jul 2014 07:13:24 +0000 (UTC) Received: (qmail 71989 invoked by uid 500); 10 Jul 2014 07:13:23 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 71968 invoked by uid 500); 10 Jul 2014 07:13:23 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 71956 invoked by uid 99); 10 Jul 2014 07:13:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 07:13:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of listmail@b79.net designates 74.55.86.74 as permitted sender) Received: from [74.55.86.74] (HELO smtp.webfaction.com) (74.55.86.74) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 07:13:20 +0000 Received: from localhost (c-50-184-62-157.hsd1.ca.comcast.net [50.184.62.157]) by smtp.webfaction.com (Postfix) with ESMTP id 9311522B459A for ; Thu, 10 Jul 2014 07:12:55 +0000 (UTC) Date: Thu, 10 Jul 2014 00:12:54 -0700 From: John Magolske To: users@pdfbox.apache.org Subject: PDFBox on Debian ... org/apache/commons/logging/LogFactory error Message-ID: <20140710071254.GC16800@s70206.gridserver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Checked: Checked by ClamAV on apache.org Hi, In attempting to get pdfbox running on my Debian Sid system I did: aptitude install libpdfbox-java aptitude install libcommons-logging-java aptitude install libfontbox-java aptitude install libjempbox-java Classpath is: % echo $CLASSPATH /usr/share/java/pdfbox-1.8.6.jar:/usr/share/java/commons-logging-1.1.3.jar:/usr/share/java/fontbox-1.8.6.jar:/usr/share/java/jempbox-1.8.6.jar Java is: % whence -savc java /usr/bin/java -> /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java When summoning pdfbox to convert a PDF to text: % java -cp /usr/share/java/pdfbox.jar org.apache.pdfbox.ExtractText some_file.pdf Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.pdfbox.pdfparser.BaseParser.(BaseParser.java:68) at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1234) at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1200) at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1125) at org.apache.pdfbox.ExtractText.startExtraction(ExtractText.java:212) at org.apache.pdfbox.ExtractText.main(ExtractText.java:85) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 6 more Nothing is converted...not sure where to go from here. Any suggestions? Thanks, John -- John Magolske http://B79.net/contact