1.数据库
url=jdbc:mysql:///day17?characterEncoding=utf-8
2. 依次点击 File -> Settings -> Editor -> File Encodings
3. 修改maven -Dfile.encoding=gbk
4.pom.xml
1.数据库
url=jdbc:mysql:///day17?characterEncoding=utf-8
2. 依次点击 File -> Settings -> Editor -> File Encodings
3. 修改maven -Dfile.encoding=gbk
4.pom.xml
本文标题:《配置 Maven 项目中的编码》作者:极四维博客
原文链接:https://cway.top/post/161.html
特别注明外均为原创,转载请注明。
扫描二维码
可在微信查看或分享至朋友圈。
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。