In several places the eclipse needs to be set to:
Window-> Preferences-> General -> Content Type-> Text-> JSP bottom-8 to UTF
Window-> Preferences-> General-> Workspace panel Text file encoding selection . 8-UTF
Window-> Preferences-> Web-> Files panel select the JSP ISO 10646 / Unicode (UTF-8 )
Reference link: https: //www.cnblogs.com/yimu/archive/2011/06/30/SXLYLOVE.html