I clearly missing something here.
I\'m making a simple spring boot
app with spring data jpa
inluded and face follwing error:
Caused
I also had the same problem.I solved it with following solution. If your Entity classes and Repositories in a different package you need to use following annotations.
@SpringBootApplication
@EntityScan(basePackages = {"EntityPackage"} )
@EnableJpaRepositories(basePackages = {"RepositoryPackage"})
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}