AbstractPdfView https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/servlet/view/document/AbstractPdfView.html
references classes from the com.lowagie hierarchy for compatibility with iText and OpenPDF. OpenPDF 3.0 has changed its package name:
OpenPDF 3.0.0 uses the new package name org.openpdf. The old com.lowagie is now removed from OpenPDF 3.0. This means that source code using OpenPDF must be migrated to use import statements using org.openpdf.* package.
https://github.com/LibrePDF/OpenPDF/releases
A possible wrinkle: OpenPDF in 2.1.0 moved to a Java 21 compiler level.
Comment From: bclozel
I don't think we can safely support this option since Java 21 is required and we have a Java 17 baseline. Maybe we should retire this view from Framework and let the community ship a separate dependency for this use case.
Comment From: bclozel
We discussed this today and decided to close this issue in favor of #35451.
While this is probably not the outcome your expected @jakeab , we think that the entire package is outdated and that this should be supported in a different way. We won't add support for OpenPDF 3.0 and we think that a dedicated View
implementation (like many other projects do) would be a better solution overall.
Thanks!
Comment From: jakeab
@bclozel I'm not too surprised and that's fine by me. (Our code in this area is quite old.) I appreciate the fast reply, thank you!