• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

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

23.04.04 18:09 작성 조회수 520

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 설정을 살펴보시기 바랍니다.