Skip to content
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

项目不错,如果数据库连接池不是HikariCP会报错 #84

Open
shengbinxu opened this issue Jan 16, 2024 · 0 comments
Open

项目不错,如果数据库连接池不是HikariCP会报错 #84

shengbinxu opened this issue Jan 16, 2024 · 0 comments

Comments

@shengbinxu
Copy link

shengbinxu commented Jan 16, 2024

解决办法:
1、引入包:

<dependency>
            <groupId>com.zaxxer</groupId>
            <artifactId>HikariCP</artifactId>
            <version>4.0.3</version>
        </dependency>

2、修改连接池类型
spring.datasource.type = com.zaxxer.hikari.HikariDataSource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant