You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pdfLayoutManagaer 0.4.0 and apache Box 2.0.6. I keep getting this error when I compile the project.
Error:(102, 21) java: cannot access org.apache.pdfbox.exceptions.COSVisitorException
class file for org.apache.pdfbox.exceptions.COSVisitorException not found
The text was updated successfully, but these errors were encountered:
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.
I'm using pdfLayoutManagaer 0.4.0 and apache Box 2.0.6. I keep getting this error when I compile the project.
The text was updated successfully, but these errors were encountered: