Hey everybody,
Thanks for all the info on the subject. Indeed this error gave me an idea that something is not going right with the dependencies, but the weird thing is that I could find the class related to the error inside the jar file. I even included the jar file on it own, but still gave me the same error.
But then I did the following step and a miracle happend:
- Removed all jar files from lib folder
- Downloaded and placed the given jar file from David inside lib folder
- Restarted the Lucee service through windows
- Restarted Lucee inside admin page
- Made page with given code by David.
- Placed test.docx inside root folder of website (because of expandpath)
- Called the page and tada a beautiful PDF came out. Also damn fast.
So thanks to David for your work .If I could give some bucks worth a coffee then give me link (Paypal please)! Just little thanks for the trouble. Now I know the library worked and Lucee also works so that’s a relieve. I can also inspect this Jar file for more clues on how it works correctly and what went wrong.
https://lucee.daemonite.io/t/lucee-jar-problem-noclassdeffounderror/3834/8?u=modius
Thanks!