Emp_type_map. Put ("formal ",
"R ");
Emp_type_map. Put ("outsourcing ",
"O ");
Emp_type_map. Put ("Internship ",
"R ");
When I started jetty on Mac today, I found that the key in the map had become garbled, and the three garbled keys were put into the map. They were considered the same, overwritten, and changed to the last one.
In ternimal, enter
Locale
Lang = "zh_CN.UTF-8"
Lc_collate = "zh_CN.UTF-8"
Lc_ctype = "zh_CN.UTF-8"
Lc_messages = "zh_CN.UTF-8"
Lc_monetary = "zh_CN.UTF-8"
Lc_numeric = "zh_CN.UTF-8"
Lc_time = "zh_CN.UTF-8"
Go to the Apple official website to check the document, set all the encoding to UTF-8 as follows
Lc_all = "zh_CN.UTF-8"
To the environment variable configuration file
Fjh-Mac-Pro :~ Fengjianhua $ Vim ~ /. Bash_profile
# Add
Export lc_all = zh_CN.UTF-8
Make environment variables take effect
Fjh-Mac-Pro :~ Fengjianhua $ source ~ /. Bash_profile
Restart Jetty. OK. Note the following when using Mac