spring boot jpa 설정시

When the repository package is different to @SpringBootApplication/@EnableAutoConfiguration, @EnableJpaRepositories is required to be defined explicitly.

"Entity is not a managed type" also need to add the annotation @EntityScan("com.package.dtos")

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2019-07-08 01:03:54
Processing time 0.0101 sec