关于maven工程进行测试时在控制台出现乱码问题

版权声明:博主原创转载请注明出处:https://blog.csdn.net/qq_42952331 https://blog.csdn.net/qq_42952331/article/details/84679394

控制台输出信息如下:
在这里插入图片描述
解决方法:
在工程的pom.xml文件中添加:
-Dfile.encoding=UTF-8

在这里插入图片描述
问题解决
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_42952331/article/details/84679394