Error creating bean with name 'objectMapperConfigurer' defined in class path resourc code example

Example 1: 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.

Example 2: Error creating bean with name 'dataSource' defined in class path resource

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})

Tags:

Java Example