개발연습을 하던 중 Mybatis와 Mysql의 연결을 확인하는 테스트 코드를 보게 되어서 직접 코드를 실행해보려고 했는데 에러가 발생했다.
그림은 오류가 없이 표시되었는데, 아래 의존성을 추가 해줘서 그렇다.
<!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.1.5.RELEASE</version>
<scope>test</scope>
</dependency>
mvnrepository.com에서 spring-test를 검색해서 추가해주었다.
'Dev > Error List' 카테고리의 다른 글
[Spring Boot] CSS,JS 404 ERROR (3) | 2019.04.01 |
---|---|
[ Intelli J] JSP 파일에서 CSS 적용 및 변경이 안되는 경우 (0) | 2019.03.23 |
Tomcat 실행 오류 (Eclipse, STS) (0) | 2019.03.18 |
Mapper <if>사용 경험 (0) | 2018.03.27 |
Value '0000-00-00' can not be represented as java.sql.Date 에러(Error) (0) | 2018.03.19 |