Link to home
Start Free TrialLog in
Avatar of atxman
atxman

asked on

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?

Thanks
intellijIssue.jpg
ASKER CERTIFIED SOLUTION
Avatar of dpearson
dpearson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of atxman
atxman

ASKER

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
Avatar of atxman

ASKER

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