I have used itext-4.2.0.jar and itextpdf-5.4.5 jar and used com.lowagie.text.pdf.parser.PdfTextExtractor to read the pdf. Below is the attached piece of code which is working fine. I hope it helps
...