Home > Back-end >  Why the exception error message garbled?
Why the exception error message garbled?

Time:04-11

Bosses, mystery

CodePudding user response:

Should be a folder does not exist, is to create a file error

CodePudding user response:

Unicode to check the system language is Chinese simplified, not words will be garbled

CodePudding user response:

Check whether has set the coding format for: utf-8

CodePudding user response:

Solution: are for reference only
1, first of all to the right to Run the program, select Run As, and then select the Run Configurations (Run configuration),
Then will pop up a configuration option box, as shown,




2, select the Common TAB page,
3, to utf-8
4, click "Apply" finally, with respect to OK

CodePudding user response:

reference program, 4/f, Yang response:
solution: are for reference only
1, first of all to the right to Run the program, select Run As, and then select the Run Configurations (Run configuration),
Then will pop up a configuration option box, as shown,




2, select the Common TAB page,
3, to utf-8
4, click "Apply" finally, with respect to OK

Great god cow force ah, but I'm a idea how to change

CodePudding user response:

Sorry, didn't see your is

If it is the idea, refer to the following Settings:

CodePudding user response:

If not yet, to set up the idea of server code, found in the menu bar "Run - & gt; Edit Configration "find" server "TAB set the vm option to - Dfile. Encoding=utf-8, as shown in figure:

CodePudding user response:

refer to 7th floor program Yang reply:
if not yet, to set up the idea of server code, found in the menu bar "Run - & gt; Edit Configration "find" server "TAB set the vm option to - Dfile. Encoding=utf-8, as shown in figure:


Thank you very much, but they still garbled persist...

CodePudding user response:

If the code problem still exists, please try to continue to complete the following steps to solve:
1. Open the IntelliJ IDEA local installation directory under the bin folder of the IDEA. Exe. Vmoptions and idea64. Exe. Vmoptions these two files, as shown in figure:



Respectively in the two files added to the end of the content - Dfile. Encoding=utf-8, as shown in figure:



CodePudding user response:

First of all thank you very much, idea, tomcat, Settings, other no problem; But an error when the code

CodePudding user response:

The system have to do is change the default encoding format of GKB?
  • Related