I am trying the PDFOCR example but I get the following error:
Exception in thread "main" java.lang.NoSuchMethodError: \'void com.itextpdf.layout.Canvas.(com