The project was not built due to "release 22 is not found in the system". Fix the problem, then try refreshing this project and building it since it may be inconsistent 에러가 떴다...
난 17버전 쓰는데 그냥 최근게 가장 좋겠지하고 무의식적으로 사용했다.
고쳐보자
1) pom.xml 들어가기

java 버전 22였던 것을 17로 바뀌었다.
17버전으로 바꾸면 Project 자체에서는 에러가 나지 않지만 실행할 경우 에러가 난다.
'Spring_SpringBoot > Error' 카테고리의 다른 글
| [ Mybatis ] If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. (1) | 2024.06.19 |
|---|---|
| HTTP 서버 응답 코드(Response Code) 정리 (0) | 2024.06.10 |
| @Service (0) | 2024.06.10 |
| InvocationTargetException (0) | 2024.06.10 |
| 에러별 색상( 세팅 - 중요 ) (0) | 2024.06.08 |