Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with Spring Boot 1.4+ #33

Open
abliznyuk opened this issue Sep 25, 2017 · 0 comments
Open

Incompatibility with Spring Boot 1.4+ #33

abliznyuk opened this issue Sep 25, 2017 · 0 comments

Comments

@abliznyuk
Copy link
Member

abliznyuk commented Sep 25, 2017

In Spring Boot 1.4 @org.springframework.boot.orm.jpa.EntityScan annotation has been deprecated and should be replaced with @org.springframework.boot.autoconfigure.domain.EntityScan or explicit configuration details.

For this reason JPA models doesn't managed.

To solve this problem in project with Spring Boot 1.4+ version you need to define entity scan explicitly:

import org.springframework.boot.autoconfigure.domain.EntityScan;

@Configuration
@EntityScan(basePackageClasses = RoutineCoreSpring.class)
class Config {
   ...
}
@abliznyuk abliznyuk changed the title Incompatibility with Spring Boot 1.4 Incompatibility with Spring Boot 1.4+ Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant