org.springframework.jdbc.datasource.DataSourceTransactionManager 에러

SEOP·2023년 4월 9일

ERROR

AbstractMethodError에러해결
위 링크의 에러를 해결하고 나니 mybatis 설정파일에서 오류가 떴다.

The fully qualified name of the bean's class, except if it serves only as a parent definition for child bean definitions.
이렇게 적혀있다.

org.springframework.jdbc.datasource.DataSourceTransactionManager 클래스를 찾지 못하는 것같다.

pom.xml에 아래 코드를 추가하여 spring-jdbc를 주입해준다.

<dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-jdbc</artifactId>
  <version>${org.springframework-version}</version>
</dependency>

참고 : https://webnamubada.tistory.com/284

profile
응애 나 애기 개발자

0개의 댓글