IDEA compilation error: Unmappable characters in GBK encoding

1. Set the encoding of the idea to utf-8
Insert image description here

2. Delete the project .idea file

Insert image description here

3. Set the encoding of the idea's virtual machine parameters edit custom VM options , clear the idea cache lnvalidate Caches, and restart the import project.

Set the encoding of the idea

Clear the idea cache and re-import the project

Guess you like

Origin blog.csdn.net/chat_bot/article/details/127301223