Reputation: 13728
I am very new to Java. I am trying to use jsoup in a small project. I couldn't set up my netbeans to use it.
I have opened a folder for third party libraries in C:\Users\muhammed\jarlibraries
and I have put jsoup-1.7.2.jar
in it. Then I right clicked on libraries and selected add jar folder. Now my project looks like this;
As you can see from the image above, netbeans cannot resolve Jsoup when I say Fix Imports. Am I doing something wrong here? How would this process work?
Upvotes: 2
Views: 11236
Reputation: 3749
Why do you placed your libary into a package? Thats not how you do that. Do this instead:
Than it will be added to you project and classpath.
You imported a complete folder into the project, but you only have a single jar file.
Upvotes: 8