[FIXED] Failed to configure a DataSource: url attribute is not specified and no embedded datasource
BoostMyTool BoostMyTool
47.5K subscribers
1,778 views
0

 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 :
Build E-commerce Web Application using ASP.NET Core : https://www.udemy.com/course/aspnet-c...
Build E-commerce Web API using ASP.NET Core : https://www.udemy.com/course/build-as...
Build E-commerce Web Application using React JS : https://www.udemy.com/course/build-co...


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

show more

Share/Embed