STS 控制台 中文乱码(maven 中文乱码)

用uriEncoding标签设置中文字符集就行了

<plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
    <version>2.2</version>
    <configuration>
     <!-- 设置中文字符集 -->
    <uriEncoding>utf-8</uriEncoding> 
     <port>8080</port>
     <path>/</path>
    </configuration>
</plugin>

.

原文地址:https://www.cnblogs.com/crazycode2/p/10262433.html