一、指定编译文件的编码 maven-compile-plugin 

 1             <plugin>
 2                 <groupId>org.apache.maven.plugins</groupId>
 3                 <artifactId>maven-compiler-plugin</artifactId>
 4                 <version>2.5.1</version>
 5                 <configuration>
 6                     <source>1.6</source>
 7                     <target>1.6</target>
 8                     <encoding>utf-8</encoding>
 9                 </configuration>
10             </plugin>
View Code

相关文章:

  • 2021-07-01
  • 2021-11-24
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2021-12-20
  • 2021-12-25
  • 2021-09-02
  • 2021-06-22
相关资源
相似解决方案