[FIXED] Error creating bean with name 'entityManagerFactory' defined in class path resource due to
Vložit
- čas přidán 3. 01. 2024
- Fix Spring Boot application error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name entityManagerFactory defined in class path resource :
Unable to create requested service due to:
Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided)
************************
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=
**********************************
Complete Spring Boot Course : not available yet .
***********************************
🔥 Complete Udemy Courses :
Build E-commerce Web Application using ASP.NET Core : www.udemy.com/course/aspnet-c...
Build E-commerce Web API using ASP.NET Core : www.udemy.com/course/build-as...
Build E-commerce Web Application using React JS : www.udemy.com/course/build-co...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2cloud.org/SH3YB
I'm getting the same error while trying to connect with h2 db