[FIXED] Failed to configure a DataSource: url attribute is not specified and no embedded datasource
BoostMyTool BoostMyTool
55.4K subscribers
3,133 views
14

 Published On Jan 4, 2024

How to fix Spring Boot application error: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class

**********************

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=root
spring.datasource.password=

**********************************

Spring Boot course : not available yet .

***********************************

🔥 Complete Udemy Courses :
ASP.NET MVC Course : https://www.udemy.com/course/aspnet-c...
ASP.NET Course : https://www.udemy.com/course/aspnet-c...
ASP.NET Core Web API : https://www.udemy.com/course/build-as...
React JS : https://www.udemy.com/course/build-co...

⬇️ Free Document Proofreading ⬇️
► Grammarly : https://grammarly.go2cloud.org/SH3YB

show more

Share/Embed