@SpringBootApplication
@EnableConfigurationProperties
@EntityScan(basePackages = {"com.project.ppaa.model"}) // scan JPA entities
public class Application {
private static ConfigurableApplicationContext applicationContext;
public static void main(String[] args) {
Application.applicationContext = SpringApplication.run(Application.class, args);
}
}
it should work automatically but if it does not, you can enter the base package
@EntityScan(basePackages = {"com.project.ppaa.model"}) // scan JPA entities manually