美文网首页
SpringBoot Tomcat 启动 console 乱码

SpringBoot Tomcat 启动 console 乱码

作者: 赛亚人之神 | 来源:发表于2018-09-24 12:04 被阅读54次
    image.png
    1. 在 idea 安装目录 bin 文件夹下找到如图选中的这两个文件,加入如下代码
    -Dfile.encoding=UTF-8
    
    1. 在 tomcat 的 VM options 中加入:-Dfile.encoding=UTF-8
      image.png

    相关文章

      网友评论

          本文标题:SpringBoot Tomcat 启动 console 乱码

          本文链接:https://www.haomeiwen.com/subject/unvcoftx.html