I am not getting the correct answer, Created an separate pdfbox osgi bundle and deployed successfully. It has active status. And project bundle is also deployed having active status.
but it gives error
java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.PDDocument
Solved! Go to Solution.
Views
Replies
Total Likes
Yes, finally I got solutions but PDF box updated api like 2.0.14 or 1.8.16 are not resolved with AEM 6.
AEM works with very lower versions of PDFBOX only. Might be this the limitation while you are working in AEM, so keep these things in mind.
Views
Replies
Total Likes
Use pdfbox bundle's symbolic name in <Require-Bundle>... </Require-Bundle> in your pom.xml under maven- bundle-plugin
Views
Replies
Total Likes
I am not getting the correct answer, Created an separate pdfbox osgi bundle and deployed successfully. It has active status. And project bundle is also deployed having active status.
but it gives error
java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.PDDocument
not getting the solution, can you please help me to out of this.
Views
Replies
Total Likes
We have that use case for AEM 5.6 - but it will show you how - Adobe Experience Manager Help | Creating a custom Adobe Experience Manager PDF service
Views
Replies
Total Likes
Thanks, but I already read the same use case. but I am getting the problem with AEM6, after creating the jar bundle and deployed that on instance with active status, my project bundle also in active status but not able to find the PDFBox API classes.
Views
Replies
Total Likes
Yes, finally I got solutions but PDF box updated api like 2.0.14 or 1.8.16 are not resolved with AEM 6.
AEM works with very lower versions of PDFBOX only. Might be this the limitation while you are working in AEM, so keep these things in mind.
Views
Replies
Total Likes
Can u please mention which version of PDFBOX worked for u?
Views
Replies
Total Likes
Views
Likes
Replies