idea.exe.vmoptions file modification
Open the bin directory of Intellij's installation (D:\Program Files\IntelliJ IDEA 15.0.2\bin ) and find the two files in the figure below (select one of the configuration files according to whether your system is 32-bit or 64-bit)
In the configuration file add: -Dfile.encoding=UTF-8
Configure project encoding and IDE encoding
Go to settings, select File Encodings, configure IDE Encoding and Project Encoding to UTF-8, and also configure the following Default encoding for properties files to UTF-8.
Configure the project startup server parameters, in the tomcat configuration
Add -Dfile.encoding=UTF-8 to VM options