Class not found from external library
Answered
I've imported the mysql_connector_java jar file to my project library via the Project Structure menu.

When I run this code I get an error that says "java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver".
I'm not sure where else I could place the jar file for this command to work.
In my Project tab I am able to drill down --> External Libraries -->mysql-connector-java -->com.mysql -->cj -->jdbc -->Driver.java

Please sign in to leave a comment.
Do you have an import for it? May you share a project sample?