先吐槽一下,花了我3个小时,心累

本地运行正常,发布时maven插件里要加utf-8编码

https://blog.csdn.net/testcs_dn/article/details/45583791

 

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<encoding>utf-8</encoding>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>

 

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2021-11-20
  • 2021-09-18
  • 2021-07-24
  • 2021-05-16
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-10-30
  • 2021-09-23
  • 2021-08-08
  • 2021-04-29
  • 2021-12-14
  • 2021-11-21
  • 2022-01-05
相关资源
相似解决方案