• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

강사님! 프론트엔드 라이브러리 설정 부분에서 오류가 납니다..

23.05.18 17:26 작성 23.05.18 17:27 수정 조회수 280

0

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project studyolle: Compilation failure

[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

[ERROR]

[ERROR] -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 

./mvnw test 명령어를 입력하면 위에 오류가 나오면서 build failure라고 뜨네요.. 오류메시지처럼 자바 버전 문젠가 해서 제 맥북 환경변수쪽도 보니까 11로 잘 들어가 있는데 왜 그럴까요.

 

답변 1

답변을 작성해보세요.

0

김한석님의 프로필

김한석

질문자

2023.05.18

자바 버전 변경하고 이것저것 만지다보니 이번엔 이런 오류가 뜹니다! 여기서 막혀서 진전이 없네요ㅠ
Installing node version v4.6.0

[INFO] Downloading https://nodejs.org/dist/v4.6.0/node-v4.6.0-darwin-arm64.tar.gz to /Users/kimhanseok/.m2/repository/com/github/eirslett/node/4.6.0/node-4.6.0-darwin-arm64.tar.gz

[INFO] No proxies configured

[INFO] No proxy was configured, downloading directly

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.920 s

[INFO] Finished at: 2023-05-18T17:48:42+09:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.8.0:install-node-and-npm (install node and npm) on project studyolle: Could not download Node.js: Got error code 404 from the server. -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 

김한석님의 프로필

김한석

질문자

2023.05.18

강사님! 스택오버 플로우 찾아보면서 해결 했는데 제가 맥북 m2 사용중인데 frontend-maven-plugin 버전을 1.11.0 이상으로 설정을 변경하니 됐습니다!

공유해 주셔서 감사합니다.