JDBC 실습 중 JDBC 필요 라이브러리를 build.gradle 에 추가하고, apllication.properties 에 datasource 정보를 작성하였는데, gradle 에 빨간줄이 그어졌다.
SpringConfig 또한 수정한 상태.
그리고 main method 를 실행하자, oracle driver class error 및 beancreation error 등이 발생하였다.
https://error-fighter.tistory.com/17?category=914504
보니까 IntelliJ 에서 발생하는 오류로, IntelliJ 메뉴 -> File -> Invalidate Caches -> Invalidate and Restart 로 해결할 수 있었다.
'Error' 카테고리의 다른 글
[h2 database] h2-console 시퀀스 초기화 (0) | 2022.07.05 |
---|---|
[Homebrew] Permission denied @ dir_s_mkdir (0) | 2022.06.23 |
[Java - Spring Boot] IntelliJ - invalid source release (0) | 2022.06.23 |