Closed ctoabidmaqbool closed 2 months ago
Make sure, I am currently working with non-modular project, should this be the issue?
Make sure you do gradle clean. The new fontbox jar depends on a pdfbox-io.jar, which is new to 7.2.1. I suspect this is why pages look blank
@pcorless I also have tried by first cleaning (gradlew clean
) my project then running (gradlew run
) again, but still same issue:
Can you list the jars on your class path, also any stack traces with debug level logging enabled
any update?
@pcorless Sorry! I can't update you back! I was actually working on some critical tasks. As soon as i have enough time, I will update back soon!
@pcorless Okey! Fortunatly I have solve the solved. Actually I was working in a Complex project having hundreds of depedencies / libraries.
I was using org.apache.pdfbox:pdfbox:2.0.23
, when i was using com.github.pcorless.icepdf:icepdf-core:7.2.0
.
So after upgrading icepdf
to 7.2.1, the old pdfbox
lib e.g. 2.0.23 was causing the issue.
So I try to upgrade the pdfbox
also to 3.0.3, which solved the above issue!
The IntelliJ Idea -> Dependency Analyzer
becomes much help full to solve the issue. Also --stacktrace
was nothing show any error / warning too!
Good to hear.
I am not sure, but after upgrading ICEPdf 7.2.1 from
7.2.0
it continously hangs and not loading PDF at all!This is just the info i can see on console window!
How can i debug the issue and solve my problem, Iss there anything i have to change for working with 7.2.1?
Note: ICEPdf 7.2.0 is working well. My project is using Gradle 7.6.4 Java 17+