Add jar to project library in intellij idea

I am new to Intellij Idea, build 14.1. I used Eclipse for a long time but it seems that I can not properly add a jdbc jar to my project library for my class to use. I keep getting the following error: java.sql.SQLException: No suitable driver found for ...

I have created a module and added the jdbc jar as an external library. You can see on this screen shot. Does anyone know why I am getting this error?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Check that the jar is appearing in the module's dependencies.

File | Project Structure | Modules

Click on the dependencies tab.  If the Jar is not there, click the green "+" on the right hand side and add the Jar.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
atxmanAuthor Commented:
I did do that but I still got the same problem. I did however, manually copy the jar to the intellij workspace project folder and that worked. Not sure what I was doing wrong. Thanks for the response
atxmanAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for atxman's comment #a41014209

for the following reason:

The solution suggested did not work, so doing it manually worked
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.