Answers for "error creating bean with name 'entitymanagerfactory' defined in class path resource spring boot"

-2

error creating bean with name 'entitymanagerfactory' defined in class path resource spring boot

// Seems like you used @Id annotation from the wrong package in 
// your Degree class. 
// Change your 
import from org.springframework.data.annotation.Id 
// to 
import javax.persistence.Id. 
// That should help with the exception you're getting.
Posted by: Guest on July-23-2020

Code answers related to "error creating bean with name 'entitymanagerfactory' defined in class path resource spring boot"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language