[에러해결]Unsatisfied dependency expressed through field 'mapper'
에러내용 : Unsatisfied dependency expressed through field 'mapper' ~ 1. TestMapper.java 파일의 @Mapper 를 -> @Mapper("mapper") 로 수정! 2. TestServiceImpl 파일의 @Autowired 를 -> @Resource(name = "mapper") 로 수정하고 import ! 3. 마지막으로 context-mapper.xml에서 원래있던 sqlSession 부분은 모조리 주석처리하고, 원래있던 sqlSessionFactory 의 이름은 sqlSession 으로 변경함. +) 공식문서를 보고 20번째라인의 부분의 value="egovframework" 를 value="egovframework.rte.**.mappe..
2022.12.13