강의

멘토링

로드맵

인프런 커뮤니티 질문&답변

chr_apple님의 프로필 이미지
chr_apple

작성한 질문수

예제로 배우는 스프링 입문 (개정판)

프로젝트 설정

jdk 버전이 자꾸 낮다면서 오류가 발생합니다.

작성

·

836

0

프로젝트, 이클립스 설정에서 모두 11로 변경하고 진행했는데 클래스 파일은 자꾸 17버전이라고 뜨면서 현재 버전이 낮다고 해요. 왜 클래스 파일이 11버전으로 안되는지 모르겠네요..

 

Execution default of goal org.springframework.boot:spring-boot-maven-plugin:3.0.4:build-info failed: Unable to load the mojo 'build-info' in the plugin 'org.springframework.boot:spring-boot-maven-plugin:3.0.4' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/springframework/boot/maven/BuildInfoMojo has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

답변 1

0

백기선님의 프로필 이미지
백기선
지식공유자

에러 내용을 잘 읽어보시면, 컴파일을 한 버전은 61인데, 55버전으로 실행하려고 시도해서 난 에러로 보입니다. 애플리케이션을 실행하는 java 명령어의 버전과 path 설정을 살펴보시기 바랍니다.

chr_apple님의 프로필 이미지
chr_apple

작성한 질문수

질문하기