Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am in the process of making my database cloud based, however I'm having trouble connecting to it. I have followed this

https://cloud.google.com/sql/docs/mysql/connect-app-engine-standard#java

I think the problem is I am having problems setting up HikariCP in my Java project. As I keep getting the error:

java.lang.NoClassDefFoundError: Could not initialize class com.zaxxer.hikari.HikariConfig

So if anyone has any solutions, either fixing the problem above, or a new way about it I would be very grateful.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
304 views
Welcome To Ask or Share your Answers For Others

1 Answer

Based on the github for Java or the MySQL/Postgres JDBC and R2DBC drivers which allows the user with proper permission to connect to a Cloud SQL database.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...