Spring JDBC (1) 썸네일형 리스트형 [Error] Field repository in required a bean of type 'xxx' that could not be found. # Error Intellij에서 @Autowired를 통해서 CrudRpository를 상속받는 인터페이스를 사용할 때 아래와 같은 error가 발생한다. Field repository in com.example.SpringDataJDBCSample.SpringDataJdbcSampleApplication required a bean of type 'xxx' that could not be found. # Solution @EnableJdbcRespositories을 통해 JDBC Repository 를 활성화 할 수 있다. @SpringBootApplication @EnableJdbcRepositories(basePackages = { "path of target package ex) com.demo.. 이전 1 다음