Banking application project for OOP classes at the University.
List of errors which You can see in application.
This error is showing when application have problem with connection during log in to app.
Download and add JDBC connector to project.
Download MySQL connector from here!
Adding MySQL connector:
File -> Project Structure -> Modules
Click on '+' button. Then choose JAR option and then choose mysql-connector file from folder where You downloaded.
After that check connector in box and click 'Apply'.
If Your problem is not solved try to next step below.
Check if Your database is online or if Your connection is invalid!
To check connection you should have login and password to database and URL.
Example connection to database 'schema' with user with login 'root' and password 'rootroot'
Connection connection = (Connection) DriverManager.getConnection(
"jdbc:mysql://localhost:3306/schema",
"root",
"rootroot");
This error is showing when application have problem with connection after log in to app.
Check if Your database is online or if Your connection is invalid!
To check connection you should have login and password to database and URL.
Example connection to database 'schema' with user with login 'root' and password 'rootroot'
Connection connection = (Connection) DriverManager.getConnection(
"jdbc:mysql://localhost:3306/schema",
"root",
"rootroot");
This error is showing when data which You want use does not exist.
You should check data in Your Database.
Version: 1.0
Languages: Java, MySQL
Software environment: IntelliJ IDEA, MySQL Workbench
SDK: 18.0.2
Operating Systems: Windows, macOS