3

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

1 Answer 1

8

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.

Sign up to request clarification or add additional context in comments.

1 Comment

In the future, please make your answer more self-contained. I have added what I think is the most relevant quote, but you really shouldn't only rely on links only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.