티스토리 뷰
***************************
APPLICATION FAILED TO START
***************************
Description:
Field dao in com.kim.test.gazee.service.CustomerServiceServiceImpl required a bean of type 'com.kim.test.customerService.CustomerServiceDAO' 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 'com.kim.test.customerService.CustomerServiceDAO' in your configuration.
나의 문제점은 어노테이션(@component,@service,@controller)설정 문제가 아니였다..
나의 문제점은 customerServiceMapper문제였다...
resultType, parameterType이 두개중에 customerServiceVO를 사용하면 경로를 정확하게 해줘야 했다.
만약 com.kim.test.customerService안에 customerServiceVO가 있다면
com.kim.test.customerService.customerServiceVO
위 경로를 사용하려면 resultType , parameterType 둘 중 하나 아니면 둘다 customerServiceVO를 사용한다면 저 경로로 변경해 줘야했다.
이렇게 resultType과 parameterType에 적용 시켜야했다.
예외는 있다.) String , int같은 것 들 아니면 다른 경로에 있는 VO들
다른것을 사용하고있는 VO들도 경로를 지정해 주면 된다.
ex) com.kim.test.report.ReportVO
com.kim.test.member.MemberVO
아니면 다시 처음부터 돌아가 차근차근 해 보는 것도 하나의 방법이다.
'spring boot' 카테고리의 다른 글
| spring boot jsp사용하기 (1) | 2026.04.12 |
|---|---|
| Spring boot css적용하기 (0) | 2026.04.12 |
| [Spring Boot] Ajax로 기상청 API 날씨 정보 불러오기 (0) | 2026.04.12 |
| [자바] 스케쥴러(Scheduler)를 이용한 회원상태(휴먼) 업데이트 (0) | 2026.04.12 |
| [자바] bcrypt 란?, bcrypt를 이용한 비밀번호 암호화 (0) | 2026.04.12 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 오래된이용자
- 세션
- AJAX
- java
- Vo
- DTO
- 셀레니움
- deque
- 스케줄러
- char
- 비밀번호암호화
- bcrypt
- 비동기식
- 차이점
- 회원상태
- cookie
- springbootcss
- ResultType
- 크롤링연습
- 기상청api
- ajax로그인
- LIFO
- FIFO
- 날씨불러오기
- varchar
- 데이터타입
- springboot
- Spring
- mybatis
- parameterType
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
글 보관함