Solve the error Java: Illegal character: '\ufeff'

 Method 1: Remove the BOM directly and then restart the program.

 

 Method 2: Open with notpad++, click Encode to UTF-8 format, and save.

 

 

Guess you like

Origin blog.csdn.net/weixin_49171365/article/details/130469725