Intellij IDEA 常见问题及解决办法(持续更新)

IDEA中的*.properties文件中的中文会显示成unicode码,如下:

1
2
\u663E\u793ASQL\u8BED\u53E5\u90E8\u5206
Log4j\u914D\u7F6E

解决方法

在File > Setting > Editor > File Encodings,在右下角Transparent native-to-ascii conversion处打上勾,应用或确认

调试代码的时候时常会出现如下提示框

1
Page ‘http://localhost:63342/*’ requested without authorization, you can copy URL and open it in browser to trust it. Copy authorization URL to clipboard

解决方法

在File > Setting > Build, Execution, Deployment > Debugger勾选最后一项Allow unsigned requests