-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver error #7
Comments
Which database are you using? |
mySQL |
have you change the connection url according to you database? |
yes, i have made the changes but still the same error is coming |
I am using postgresql its working fine for me.
…On Fri, Apr 15, 2022, 4:58 PM Tanviiiiii ***@***.***> wrote:
yes, i have made the changes but still the same error is coming
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN5PU5DHINTU4Z3HCBA7ZMDVFF7Y3ANCNFSM5P7QKD7A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This is because you are using deprecated class of MySQL driver. So instead of using "com.mysql.jdbc.Driver", use this "com.mysql.cj.jdbc.Driver". Hope, it will resolve your issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i am getting this error on every page. i have created the database tables already.
as this error is coming bcz the MySQL jar file was not there but we have not created the pom.xml file so can u tell me how to resolve this error
The text was updated successfully, but these errors were encountered: