Spring Boot 1.5.0-snapshot上的org.springframework.boot.orm.jpa.EntityScan

时间:2017-02-08 10:02:00

标签: spring-boot

EntityScan类已从SpringBoot 1.5.0-SNAPSHOT中删除, 当我更改为1.3.0-SNAPSHOT版本时,EntityScan存在。

我必须添加另一个依赖,以便将EntityScan与SpringBoot 1.5.0-SNAPSHOT一起使用?

https://github.com/spring-projects/spring-boot/issues/8231

1 个答案:

答案 0 :(得分:8)

请阅读发行说明:https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes#entityscan

  

adulttotTicket注释已经存在   已弃用,应替换为   @org.springframework.boot.orm.jpa.EntityScan或   显式配置。