java: error: release version 21 not supported (2) 썸네일형 리스트형 java: error: release version 21 not supported This error occurs when there is a discrepancy between the Java compiler (JDK) version and the Maven file version. Java compiler version must be equal to or higher than the Maven version to avoid this error. One example that you might encounter this error would be when you create a project without checking the Java and packaging version as shown below If you see the error below when running the p.. 자바: 에러: release version 21 not supported 자바 컴파일러 (JDK) 버전과 메이븐 파일의 버전이 불일치할 때 나는 에러로 컴파일러 버전은 반드시 메이븐 버전과 같거나 그 이상이어야 한다. version not supported 에러는 아래와 같이 프로젝트를 생성할 때 SDK와 버전을 확인하지 않고 생성하는 경우 발생한다 프로젝트 생성 후 구동 시 아래와 같은 오류가 나타난다면 파일 -> 프로젝트 설정에서 SDK 버전을 업데이트하거나 pom.xml 파일에 parent와 프로퍼티 버전을 다운그레이드하면 된다 우측 상단에 조그만 아이콘을 클릭하여 pom.xml 파일을 반영 (Ctrl + Shift + O) 이상 HTML 삽입 미리보기할 수 없는 소스 이전 1 다음