Wrong console character encoding with spring-boot-devtools

Answered

IDE settings UTF-8, OS Windows 10, Russian language. Code for console output:

System.out.println("тест")

Spring Boot without "spring-boot-devtools" dependency in IDEA is OK

Spring Boot with "spring-boot-devtools" in Windows console is OK

Spring Boot with "spring-boot-devtools" in IDEA problem:

0
8 comments
Avatar
Permanently deleted user
0

What Maven goal do you run in IntelliJ IDEA to get this error?

0
Avatar
Permanently deleted user

spring-boot:run

0

The workaround is to add

<jvmArguments>-Dfile.encoding=UTF8</jvmArguments>

here:

0
Avatar
Permanently deleted user

Thanks you, its work!

0

Please sign in to leave a comment.