뭐든 즐기면서 ;)

intelliJ spring boot error 본문

IDE/IntelliJ

intelliJ spring boot error

Tada.*+ 2023. 5. 4. 10:10
728x90

Error 원인

JVM 버전 충돌로 인한 원인

Error 내용

Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/7.6.1/userguide/gradle_daemon.html
Process command line: C:\Users\mindslab\Desktop\java\jdk1.8.0_161\bin\java.exe --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=KR -Duser.language=ko -Duser.variant -cp C:\Users\mindslab\.gradle_nqa\wrapper\dists\gradle-7.6.1-bin\2clxi94ab3brv6467628wnxmd\gradle-7.6.1\lib\gradle-launcher-7.6.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 7.6.1
Please read the following process output to find out more:
-----------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED

해결 방법

프로젝트 jdk 버전 선택해주기

Gradle과 프로젝트 gradle 설정에서의 jvm 버전 통일하기

728x90
Comments