Open jpninanjohn opened 7 years ago
I tried using an older version of pdfbox(1.8.13) and it works.
PDFBox 2.x removed COSVisitorException entirely and PdfLayoutManager 0.5.x does not reference it any more. Here is the PDFBox 2.x Migration guide.
If you reference COSVisitorException in your own code, remove COSVisitorException or replace it with IOException or Exception wherever you use it.
If you have a stale version of PdfLayoutManager, maybe do a git pull
followed by mvn clean install
and/or flush caches and restart
in your IDE.
Someone else asked for PDFBox 2.x compatibility, so I tried to provide that quickly. I'm still adjusting my own client code and there will probably be many changes in the next few weeks because I'm making new PDFs at work. If you want every latest feature, or want to contribute, I'd love to have you on the latest version. If you want stability, you might want to stick with PdfLayoutManager 0.4.0 and PDFBox 1.8.13 for a month or so until the changes calm down again. I probably should have named the release 0.5.0-RC1 or something, but once it's on Sonatype, I don't know how to take it down or rename it.
Thank you for your interest!
I'm using pdfLayoutManagaer 0.4.0 and apache Box 2.0.6. I keep getting this error when I compile the project.