Spring Boot 1.5.0-snapshot 上的 org.springframework.boot.orm.jpa.EntityScan [英] org.springframework.boot.orm.jpa.EntityScan on Spring Boot 1.5.0-snapshot
问题描述
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
请阅读发行说明:https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes#entityscan :><块引用>
@org.springframework.boot.orm.jpa.EntityScan
注释已经已弃用,应替换为@org.springframework.boot.autoconfigure.domain.EntityScan
或显式配置.
The EntityScan class has removed from SpringBoot 1.5.0-SNAPSHOT, When i change to 1.3.0-SNAPSHOT version, EntityScan exist.
i must add another dependancy to use EntityScan with SpringBoot 1.5.0-SNAPSHOT ?
https://github.com/spring-projects/spring-boot/issues/8231
Please read the release notes: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes#entityscan :
The
@org.springframework.boot.orm.jpa.EntityScan
annotation has been deprecated and should be replaced with@org.springframework.boot.autoconfigure.domain.EntityScan
or explicit configuration.
这篇关于Spring Boot 1.5.0-snapshot 上的 org.springframework.boot.orm.jpa.EntityScan的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!