Spring boot 实战第5版chapter3访问h2数据库
No suitable driver found for JDBC:h2:mem:testdb 08001/0
解决方法:
尝试过在jdk里面加jar包和安装h2驱动,没用
先把url改成jdbc:h2:mem:test,连接成功了
再把url改成jdbc:h2:mem:testdb OK啦
解决方法:
尝试过在jdk里面加jar包和安装h2驱动,没用
先把url改成jdbc:h2:mem:test,连接成功了
再把url改成jdbc:h2:mem:testdb OK啦