The tomcat console garbled problem in IDEA [Solved]

1. Idea setting

Insert picture description here
Search for file encodings, set as shown in the figure
Insert picture description here

2. Configuration file settings

Open the idea installation directory, use Notepad to open the two files selected by the box and
Insert picture description here
add them at the end of the text;

-Dfile.encoding=UTF-8

Insert picture description here
Restart idea

May your heart be like flowers and trees

Guess you like

Origin blog.csdn.net/nbcsdn/article/details/99675812