lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Smith" <psm...@aconex.com>
Subject RE: PDFBox Issue
Date Tue, 17 Aug 2004 21:40:59 GMT
I actually thought it might have been trying to use the log4j 1.3 'alpha'
build (there is no 'alpha' build yet, but notionally the latest HEAD isn't
too far from it).  There has been a subtle change to log4j in recent months
that could have a similar impact.
Cheers,

Paul Smith
> -----Original Message-----
> From: Ben Litchfield [mailto:ben@csh.rit.edu]
> Sent: Tuesday, August 17, 2004 10:48 PM
> To: Lucene Users List
> Subject: Re: PDFBox Issue
> 
> 
> 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:
> > >><clinit> signature: ()V) Incompatible argument to function
> > >>at org.apache.log4j.Logger.getLogger(Logger.java:94)
> > >>at org.pdfbox.pdfparser.PDFParser.<clinit>(PDFParser.java:57)
> > >>at
> >
> >>org.pdfbox.searchengine.lucene.LucenePDFDocument.addContent(LucenePDFDoc
> um
> > >>ent.java:197)
> > >>at
> >
> >>org.pdfbox.searchengine.lucene.LucenePDFDocument.getDocument(LucenePDFDo
> cu
> > >>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 <mailto:donv@webimpact.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



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message