Maven package appears java: [1,1] illegal characters: '\ ufeff'

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/sunnyzyq/article/details/102635521

IDEAD tools are developed [1,1] illegal characters: '\ ufeff'

The solution: find the corresponding class, the first character encoding is set to GBK, then back to UTF8

Specific operation is as follows:

(1) Click on the stack, find the corresponding exception class, I am here to AesException.java, then set GBK coding.

(2) continue to select [Convert].

[3] Ibid operation, and then encoded back to UTF-8, recompile, you can pack a success.

 

Guess you like

Origin blog.csdn.net/sunnyzyq/article/details/102635521