Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 1573 invoked from network); 17 Aug 2004 12:47:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Aug 2004 12:47:52 -0000 Received: (qmail 57475 invoked by uid 500); 17 Aug 2004 12:47:43 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 57396 invoked by uid 500); 17 Aug 2004 12:47:42 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 57383 invoked by uid 99); 17 Aug 2004 12:47:42 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received: from [129.21.60.6] (HELO blacksheep.csh.rit.edu) (129.21.60.6) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 05:47:39 -0700 Received: from fury.csh.rit.edu (fury.csh.rit.edu [IPv6:2001:470:1f00:135:a00:20ff:fe8d:5399]) by blacksheep.csh.rit.edu (Postfix) with ESMTP id 6B06D8FDB for ; Tue, 17 Aug 2004 08:47:37 -0400 (EDT) Received: by fury.csh.rit.edu (Postfix, from userid 38448) id 20D31149B; Tue, 17 Aug 2004 08:47:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by fury.csh.rit.edu (Postfix) with ESMTP id EF434149A for ; Tue, 17 Aug 2004 08:47:36 -0400 (EDT) Date: Tue, 17 Aug 2004 08:47:36 -0400 (EDT) From: Ben Litchfield To: Lucene Users List Subject: Re: PDFBox Issue In-Reply-To: <4121F8B2.5090008@webimpact.com> Message-ID: References: <20040817061438.7B1B964007@herald.aconex.com> <4121F8B2.5090008@webimpact.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N PDFBox comes with log4j version 1.2.5(according to MANIFEST.MF in jar file), I believe that 1.2.8 is the latest. I will make sure that the next version of PDFBox includes the latest log4j version, which I assume is what everybody would like to use. But, by looking at the below error message it appears that you might have an older log4j in your classpath Logger.getLogger( Class ) is available in 1.2.5 and 1.2.8 Ben On Tue, 17 Aug 2004, Don Vaillancourt wrote: > Wow, this is an old message. > > I managed to get my code to work by using the previous version of > PDFBox. I had used the version of log4j that had come with PDFBox. > > Someone had mentioned recompiling log4j, but I couldn't get the project > to import the source into Eclipse, so I gave up. But things work great > with the version of PDFBox that I compiled with so I am fine with that. > > As for the version of log4j, I could not tell you, as I said above it > came with PDFBox, so I'm guessing that it had probably not been tested > with the version of log4j it was being distributed with. > > Paul Smith wrote: > > >What version of the log4j jar are you using? > > > > > > > >>-----Original Message----- > >>From: Don Vaillancourt [mailto:donv@webimpact.com] > >>Sent: Tuesday, June 29, 2004 8:06 AM > >>To: Lucene Users List > >>Subject: PDFBox Issue > >> > >>Hi all, > >> > >>I know that this is a Lucene list but wanted to know if any of you have > >>gotten this error before using PDFBox? > >> > >>I've gotten the latest version of PDFBox and it is giving me the following > >>error: > >> > >>java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: > >> signature: ()V) Incompatible argument to function > >>at org.apache.log4j.Logger.getLogger(Logger.java:94) > >>at org.pdfbox.pdfparser.PDFParser.(PDFParser.java:57) > >>at > >>org.pdfbox.searchengine.lucene.LucenePDFDocument.addContent(LucenePDFDocum > >>ent.java:197) > >>at > >>org.pdfbox.searchengine.lucene.LucenePDFDocument.getDocument(LucenePDFDocu > >>ment.java:118) > >>at Index.indexFile(Index.java:287) > >>at Index.indexDirectory(Index.java:265) > >>at Index.update(Index.java:63) > >>at Lucene.main(Lucene.java:26) > >>Exception in thread "main" > >> > >>I am using all the jar files that came with PDFBox. > >> > >>Anyone run into this problem. I am using the following line of code: > >> > >>Document doc = LucenePDFDocument.getDocument(f); > >> > >>Thanks > >> > >> > >>Don Vaillancourt > >>Director of Software Development > >> > >>WEB IMPACT INC. > >>416-815-2000 ext. 245 > >>email: donv@web-impact.com > >>web: http://www.web-impact.com > >> > >> > >> > >> > >>This email message is intended only for the addressee(s) > >>and contains information that may be confidential and/or > >>copyright. If you are not the intended recipient please > >>notify the sender by reply email and immediately delete > >>this email. Use, disclosure or reproduction of this email > >>by anyone other than the intended recipient(s) is strictly > >>prohibited. No representation is made that this email or > >>any attachments are free of viruses. Virus scanning is > >>recommended and is the responsibility of the recipient. > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > > > > > > > > -- > *Don Vaillancourt > Director of Software Development > * > *WEB IMPACT INC.* > phone: 416-815-2000 ext. 245 > fax: 416-815-2001 > email: donv@web-impact.com > web: http://www.web-impact.com > > > > / This email message is intended only for the addressee(s) > and contains information that may be confidential and/or > copyright. If you are not the intended recipient please > notify the sender by reply email and immediately delete > this email. Use, disclosure or reproduction of this email > by anyone other than the intended recipient(s) is strictly > prohibited. No representation is made that this email or > any attachments are free of viruses. Virus scanning is > recommended and is the responsibility of the recipient. > / > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org