Please try to reload the pdfbox jar file
Tilman -- Original-Nachricht -- Von: AllenM10 <allendoe...@gmail.com> Betreff: Re: PDFBox Loader Issue Datum: 05.06.2024, 15:22 Uhr An: users@pdfbox.apache.org Hi Andreas, Indeed, it should work that simply! However I have attempted to follow those steps now about five times over using as many and more tutorials, and after completely uninstalling and reinstalling my IDE. I am not attempting to use Maven or Gradle. The loader (which I've confirmed is located in one of the jar files I am utilizing) is still giving me issues with a ClassNotFoundException. I am making sure to follow online sources speaking about version 3.0 and above. I'll look into more tutorials related to Eclipse and unrelated to PDFBox to see if I can learn anything useful. Thank you for your reply! On Wed, Jun 5, 2024, 02:17 Andreas Lehmkühler <andr...@lehmi.de.invalid> wrote: > Hi, > > all IDEs I know are working similar. > > Create a new project using File -> New -> Java Project, follow the > instructions > > Add all needed jars to your environment using Project -> Properties -> > Java Build Path -> Libraries > > That's it for a simple project without using any build tool like maven > or gradle. > > There are tons of tutorials on how to setup/configure an eclipse > project. It isn't hard to find them using your favorite search engine. > > > > Am 03.06.24 um 19:44 schrieb AllenM10: > > Tilman, > > > > Thank you very much for your response! I happened upon both of those > > links while trying to solve the problem on my own, but ran through them > > again now since I've just recently freshly installed my Eclipse to make > > sure it wasn't an issue with my program. > > > > I tried moving my .jars from Modulepath into Classpath and got a > > slightly different error message. This time it's a NoClassDefFoundError > > caused by a ClassNotFoundException. I've attached a new screenshot with > > that error shown. > > > > On the second link, I attempted Solution 2's "Example working JavaFX > > application with maven," and am still getting the same error. > > > > I strongly suspect this is something to do with the pom.xml file I see > > floating around. Only one tutorial I happened across suggested adjusting > > it slightly for a PDFBox install. Is that a step I might be missing? I > > hadn't thought much of it since it isn't mentioned anywhere else. > > > > Thank you for your time. > > > > Regards, > > Allen Marshall > > > > > > On Mon, Jun 3, 2024 at 9:53 AM Tilman Hausherr <thaush...@t-online.de > > <mailto:thaush...@t-online.de>> wrote: > > > > Hi, > > > > I don't use eclipse myself. There have been questions about it from > > time > > to time, I assume that this IDE isn't intuitive enough to "just > work". > > Here an answer about this: > > > https://stackoverflow.com/questions/17452442/how-do-i-use-pdfbox-with-eclipse-does-it-package-in-jar-files > < > https://stackoverflow.com/questions/17452442/how-do-i-use-pdfbox-with-eclipse-does-it-package-in-jar-files > > > > > > Is this "personal register" related to the specific project? Or is it > > just a register of libraries you like? Or is it the name of your > > project? > > > > This question > > > https://stackoverflow.com/questions/77175834/i-cant-seem-to-get-pdfbox-3-0-0-jar-in-my-classpath-library-to-import-to-my-mai > < > https://stackoverflow.com/questions/77175834/i-cant-seem-to-get-pdfbox-3-0-0-jar-in-my-classpath-library-to-import-to-my-mai > > > > doesn't answer but it shows a "class path" which your screenshot > > doesn't > > show so maybe investigate that, i.e. whether the libraries are in > your > > classpath at runtime. > > > > pdfbox-3.0.2.jar is the correct file (one of them). You likely won't > > need preflight, pdfdebuger and xmpbox. > > > > Tilman > > > > On 03.06.2024 15:33, AllenM10 wrote: > > > Acknowledged! > > > > > > I've uploaded the screenshot to Google Drive. It should be > > viewable at this > > > link: [ > > > > > > https://drive.google.com/file/d/1DhlyOqRgSB-Vo6Dldij0qjS2e9KkSSsI/view?usp=sharing > < > https://drive.google.com/file/d/1DhlyOqRgSB-Vo6Dldij0qjS2e9KkSSsI/view?usp=sharing > > > > > ] > > > > > > pdfbox-3.0.2.jar certainly sounds like the file you mean, and I > > can't find > > > a pdfbox.jar file on the website. Perhaps I added them to Eclipse > > > incorrectly? > > > > > > Regards, > > > Allen Marshall > > > > > > > > > On Sun, Jun 2, 2024 at 11:10 PM Tilman > > Hausherr<thaush...@t-online.de <mailto:thaush...@t-online.de>> > > > wrote: > > > > > >> Hi, > > >> > > >> It's in the pdfbox jar. Your screenshot was removed because most > > >> attachments are removed from the mailing list. You need to have > > these > > >> inline (thunderbird does this, not sure about others) or upload > > them to > > >> a sharehoster, e.g.https://imgur.com/ <https://imgur.com/> for > > images. > > >> > > >> Tilman > > >> > > >> On 02.06.2024 16:24, AllenM10 wrote: > > >>> Good day, > > >>> > > >>> I have been having trouble attempting to load in text from a > > PDF using > > >>> the 3.0.2 version of PDFBox. It seems my profile cannot detect > > >>> "org.apache.pdfbox.Loader" or I have neglected to install it > > (in which > > >>> case, I wonder where one might find it?) and is throwing a > > >>> ClassNotFoundException. I am attaching a screenshot which shows > > both > > >>> my Referenced Libraries dropdown, containing the .jar files I > > >>> downloaded from [https://pdfbox.apache.org/download.html > > <https://pdfbox.apache.org/download.html> ], as well > > >>> as the error message in question and the portion of my code > which > > >>> throws the error. > > >>> > > >>> Where can I find the loader class, to properly use it? I > > apologize for > > >>> my barely rudimentary understanding of these systems. > > >>> > > >>> Regards, > > >>> Allen Marshall > > >>> > > >>> > > --------------------------------------------------------------------- > > >>> To unsubscribe,e-mail:users-unsubscr...@pdfbox.apache.org > > <mailto:e-mail%3ausers-unsubscr...@pdfbox.apache.org> > > >>> For additional commands,e-mail:users-h...@pdfbox.apache.org > > <mailto:e-mail%3ausers-h...@pdfbox.apache.org> > > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > > For additional commands, e-mail: users-h...@pdfbox.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org