1.在IDEA的File裏面打開Settings。maven
2.找到Runner,在VM Options輸入-DarchetypeCatalog=internal -Dfile.encoding=GBK,就能夠解決maven編譯、打包時中文亂碼的問題。編碼