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

jsis10님의 프로필 이미지
jsis10

작성한 질문수

[초급] 맛보자! 코틀린과 스프링으로 API 호출하기

1.1. IntelliJ IDEA 설치하기

intellij와 openjdk-17의 연동에 문제가 있는것 같습니다.

작성

·

1.5K

0

강의내용을 따라 JetBrains Toolbox App을 설치하고 IntelliJ IDEA Community Edition역시 설치하였습니다. IntelliJ는 2023.1 버전이고, 제가 윈도우 환경이여서 강의자료에 올라온 링크를 통해 Windows 10 x64 Java Development Kit 를 다운받았습니다. 이후 설치경로를 통해 프로젝트를 생성할때 jdk를 연결하고, Main.kt를 실행하였는데

Abnormal build process termination:

"C:\Users\user\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\TempState\Downloads\openjdk-17+35_windows-x64_bin (1)\jdk-17\bin\java.exe" -Xmx700m -Djava.awt.headless=true -Djna.boot.library.path=C:\Users\user\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\231.9225.16/lib/jna/amd64 -Djna.nosys=true -Djna.noclasspath=true --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED -Dpreload.project.path=C:/Users/user/IdeaProjects/HelloWorld -Dpreload.config.path=C:/Users/user/AppData/Roaming/JetBrains/IdeaIC2023.1/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Didea.IntToIntBtree.page.size=32768 -Djdt.compiler.useSingleThread=true -Daether.connector.resumeDownloads=false -Dio.netty.initialSeedUniquifier=5341793417328565523 -Dfile.encoding=x-windows-949 -Duser.language=ko -Duser.country=KR -Didea.paths.selector=IdeaIC2023.1 -Didea.home.path=C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16 -Didea.config.path=C:/Users/user/AppData/Roaming/JetBrains/IdeaIC2023.1 -Didea.plugins.path=C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16.plugins -Djps.log.dir=C:/Users/user/AppData/Local/JetBrains/IdeaIC2023.1/log/build-log -Djps.fallback.jdk.home=C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/jbr -Djps.fallback.jdk.version=17.0.7 -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/user/AppData/Local/JetBrains/IdeaIC2023.1/compile-server/helloworld_e8154b1c/_temp_ -Djps.backward.ref.index.builder=true -Dtmh.instrument.annotations=true -Dtmh.generate.line.numbers=true -Djps.kotlin.home=C:\Users\user\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\231.9225.16\plugins\Kotlin\kotlinc -Dkotlin.incremental.compilation=true -Dkotlin.incremental.compilation.js=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\user\AppData\Local\Temp\kotlin-idea-7583273825766489213-is-running\" -Dide.propagate.context=false -classpath C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/java/lib/jps-launcher.jar org.jetbrains.jps.cmdline.Launcher C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/java/lib/jps-builders.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/java/lib/jps-builders-6.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/java/lib/jps-javac-extension.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/util.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/util-8.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/util_rt.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/annotations.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/3rd-party-rt.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/protobuf.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/jps-model.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/java/lib/javac2.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/forms_rt.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/java/lib/aether-dependency-resolver.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/idea_rt.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/lib/util.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/devkit/lib/devkit-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/eclipse/lib/eclipse-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/eclipse/lib/eclipse-common.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/ant/lib/ant-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/platform-langInjection/lib/java-langInjection-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/Groovy/lib/groovy-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/Groovy/lib/groovy-constants-rt.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/javaFX/lib/javaFX-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/javaFX/lib/javaFX-common.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/uiDesigner/lib/jps/java-guiForms-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/space/lib/space-java-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/maven/lib/maven-jps.jar;C:/Users/user/AppData/Local/JetBrains/Toolbox/apps/IDEA-C/ch-0/231.9225.16/plugins/gradle-java/lib/gradle-jps.jar org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 60283 ffa9f868-2647-4a26-a419-c415084f775d C:/Users/user/AppData/Local/JetBrains/IdeaIC2023.1/compile-server

다음과 같은 오류가 발생하였습니다.. 버전이 호환이 안되는 것인지 추가적으로 다른 작업이 필요한 것인지 궁금합니다..

답변 1

0

김대디님의 프로필 이미지
김대디
지식공유자

안녕하세요. jsis10님 질문 남겨주셔서 감사합니다.

발생한 Abnormal build process termination 오류는

아마도 Language level을 맞춰주시면 해결되지 않을까 합니다.

Intellij에서 File -> Project Structure -> Project Settings -> Project

image

여기에서 Language level을 SDK default나 17로 변경을 해보시면 될 것 같습니다.

관련 글 공유 드리니 참고하세요~

https://hirosht.medium.com/intellij-abnormal-build-process-termination-error-with-idea-2021-2-update-ea3bf91983dd

 

해보시고 추가적인 질문 있으시면 남겨주세요 :)

jsis10님의 프로필 이미지
jsis10
질문자

답변 감사합니다! 근데 말씀해주신 방법으로 Language level을 변경해보아도 해결이 되지않네요... 뭐가 문제인 것인지 정말 모르겠습니다...

jsis10님의 프로필 이미지
jsis10

작성한 질문수

질문하기