标签:-- oal systems 乱码 bsp efi plugin for mamicode
在使用idea的时候,在springboot中使用内置的tomcat控制台中中文乱码,这个问题困扰我好长时间了,今天终于解决了
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <executable>true</executable> <fork>true</fork> <includeSystemScope>true</includeSystemScope> <!--增加jvm参数--> <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> <configuration> <classifier>exec</classifier> </configuration> </execution> </executions> </plugin> <!-- 下面的是跳过测试的插件--> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTests> </configuration> </plugin> </plugins> </build>
https://blog.csdn.net/colcool/article/details/85180935
idea中springboot内置tomcat控制台中文乱码解决
标签:-- oal systems 乱码 bsp efi plugin for mamicode
原文地址:https://www.cnblogs.com/huanglei2010/p/10889419.html