본문 바로가기

Spring/Spring + JPA (자습)

Consider defining a bean of type 'projcect.vue.repository.MemberRepository' in your configuration.

728x90
반응형

Field memberRepository in projcect.vue.cont.AdminController required a bean of type 'projcect.vue.repository.MemberRepository' that could not be found.

 

The injection point has the following annotations:

- @org.springframework.beans.factory.annotation.Autowired(required=true)

 

 

Action:

 

Consider defining a bean of type 'projcect.vue.repository.MemberRepository' in your configuration.

 

아... 계속 못 찾는단다.

알고보니...

 

이렇게 package 아래에 위치해야한다는 것이다...

 

이렇게 하니까 잘 된당... 어제부터 엄청 고생했는뎅...

 

728x90
반응형

'Spring > Spring + JPA (자습)' 카테고리의 다른 글

google analytics 4  (1) 2025.01.16
CORS error  (0) 2025.01.15
5. service & serviceImpl  (0) 2024.12.20
4. Spring Data JPA  (0) 2024.12.20
3. Hibernate  (0) 2024.12.20