今天学习JDBC的时候报错:
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc://localhost:3306/itcast?user=root&password=123456
在网上找了许多解决措施都无效。结果才发现是自己的url写错了
改正之后就可以正常查询啦!
今天学习JDBC的时候报错:
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc://localhost:3306/itcast?user=root&password=123456
在网上找了许多解决措施都无效。结果才发现是自己的url写错了
改正之后就可以正常查询啦!