debuss / Common-PrintServer

Common-PrintServer is a mini server allowing you to print your documents directly on the printer via your internet browser.
MIT License
7 stars 6 forks source link

Error with PDF #12

Open repowksoft opened 1 year ago

repowksoft commented 1 year ago

Hi. How could I fix the following error that I am currently getting in the project?

HTTP ERROR: 500 Problem accessing /printFileByURL. Reason:

java.lang.NoClassDefFoundError: org/apache/pdfbox/pdmodel/PDDocument
debuss commented 1 year ago

I reproduced the error and fixed it by updating and removing some dependencies from the POM file. It clearly needs an update, I will do it asap and update this repo with updated dependencies and classes.

debuss commented 1 year ago

I've updated everything and it works well for me. Please download latest version, the try out with the new out/artifacts/Common-PrintServer/Common-PrinterServer.jar.