I need the jsoup parser library for a program I am writing. I'm testing one of the classes I have which should allow me to input something like java TestScanner "http://www.google.com/"
and return a parsed string of words on the page (without the html tags). However when I try to run it I get the same error: NoClassDefFoundError: org/jsoup/Jsoup
. I have the jar file in a folder, and added the library to DrJava with the correct path under preferences, etc. I'm not sure what the problem is and I can't find anything online to help. Thanks for any help and let me know if there's anything I need to clarify.
Edit: I'm not sure what where the path org/jsoup/Jsoup
comes from, I don't have any path like that on my system.