
인텔리 J 로 값이 깨지는 결과가 발생할 때 해결하는 법.
방법 1

Settings - Editor - File Encodings 에서 값을 utf-8로 변경한다.
방법 2

상단바의 Help - Edit Custum VM Options 를 클릭한다.
-Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8

붙여놓고 난 이후 재실행하면 된다.
방법 3

오른쪽 상단에 있는 Gradle 을 클릭한다.
클릭 후 build - clean 을 실행 후 완료되면 build - build 를 실행하면 완료된다.
4. gradle 로 실행했을 때

Settings - Build Tools
Build and run using , Run tests using 을 IntelliJ IDEA 로 변경한다
Share article