A ssm maven project runs normally with the jetty plug-in and reports an error malformed UTF-8 data after deployment

everything works fine with the jetty6 plug-in in IDEA. When deploying, use the command line version of jetty7, to put the war file in the webapps directory and run the front-end code of the jetty, client jquery jsonp to access the ssm project. Check the web console of Firefox to prompt malformed UTF-8 data.
specific js error location:

May.03,2021
The

problem has been resolved. If we deploy to the command line version of jetty, startup jetty script file, jvm runs jetty if the missing-Dfile.encoding=UTF-8 parameter will cause FireFox error malformed utf-8 data or Chinese garbled problem. The correct batch script for example:
@ echo off
cd / d c:jetty9411
"C:Program FilesJavajdk1.8.0_121binjava.exe"-Dfile.encoding=UTF-8-jar start.jar

Menu