Spring boot – Not a managed type

Configure the location of entities using @EntityScan in Spring Boot entry point class.

Update on Sept 2016: For Spring Boot 1.4+:
use org.springframework.boot.autoconfigure.domain.EntityScan
instead of org.springframework.boot.orm.jpa.EntityScan, as …boot.orm.jpa.EntityScan is deprecated as of Spring Boot 1.4

Leave a Comment