java.lang.NullPointerException: Cannot invoke "java.sql.Connection.createStatement()" I got this exception and i don't know how to deal with it I'm a beginner so please I'm asking for you help!
Asked
Active
Viewed 22 times
0
-
1You got another exception when you tried to get the `Connection` and you ignored that. Don't. You don't actually have a `Connection`. – Elliott Frisch Jun 02 '23 at 20:47
-
As asked, this question is a duplicate. If you want more specific help, then please [edit] your question to provide a [mre] demonstrating the problem and the stack trace of the exception. – Slaw Jun 02 '23 at 21:39
-
thank you everyone so muchh, i just fixed it – amy Jun 02 '23 at 21:47