๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๊ฐœ๋ฐœ/๊ฐœ๋ฐœ Tool

[Intellij] Caused by: org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1

by ynzu๐Ÿค 2021. 11. 30.
๋ฐ˜์‘ํ˜•

์ธํ…”๋ฆฌ์ œ์ด์—์„œ yml ํŒŒ์ผ์— ํ•œ๊ธ€ ์ฃผ์„์ด ์žˆ์„ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ

 

1. ํŒŒ์ผ ์œ„์น˜ : C:/Program Files/JetBrains/IntelliJ IDEA 2021.1.2/bin/idea64.exe.vmoptions

-Dfile.encoding=UTF-8 ์ถ”๊ฐ€

-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=512m
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Dfile.encoding=UTF-8

 

2. ์ธํ…”๋ฆฌ์ œ์ด์—์„œ Help > Edit Custom VM Options

-Dfile.encoding=UTF-8 ์ถ”๊ฐ€

-Xms128m
-Xmx2018m
-XX:ReservedCodeCacheSize=512m
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Dfile.encoding=UTF-8
-Dconsole.encoding=UTF-8
728x90
๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€