Test 실행 오류 해결 방법
vscode에서 spring boot test 코드 실행 시, 위의 이미지와 같은 오류가 발생하였다.
java.lang.IllegalStateException: Failed to load ApplicationContext
spring:
datasource:
url: jdbc:h2:tcp://localhost/~/stock #;MVCC=TRUE
username: sa
password:
driver-class-name: org.h2.Driver
application.yml의 spring.datasource.url상의 ;MVCC=TRUE
를 제거하니 정상 동작하였다.
반응형
'Programming' 카테고리의 다른 글
[Spring] AOP 사용 예시 (@Pointcut @Around aspectj) (0) | 2022.12.11 |
---|---|
[Spring boot] build 및 jar 실행 (gradle 빌드) (0) | 2022.08.12 |
스케일 아웃(Scale-Out) 스케일 업(Scale-Up) 이란 (0) | 2022.08.04 |
[MongoDb] 샤딩이란? (Sharding) (0) | 2022.08.04 |
[NOSQL] Inverted Search Index 검색엔진 데이터 모델링 (0) | 2022.08.04 |