• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

句子

User user=query()。one();

然后在后期测试的时候,控制台的数据sql语句总是出错,但是我用的是mybatis-plus默认的查询语句,我连条件都没写。怎么会错呢?从依赖到注释配置,我看了各个方面,没有发现错误。然后我注意到控制台输出的一个错误。

无法获得JDBC连接

JDBC交易连接异常。我测试了其他项目是否可以查询数据库内容,结果是可以的,所以问题只能出现在我当前项目的数据库配置上。

这确实是问题所在。

caf1uwpwxsd2576.png

盒子写的没错。一开始我省略了写1,导致hikari没有办法连接数据库正确设置池。

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now