728x90
Error: The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files

해결법: RowMapper 선언할 때 spring-jdbc.jar파일만 import할 경우 하위 method인 mapRow 선언시 에러 발생 . spring-tx.jar가 추가로 필요함

메이븐에 추가
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>4.1.1.RELEASE</version>
</dependency>


Posted by 앗뜨거
,