maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa

解决在idea中使用maven插件时出现乱码

分析原因:
上述乱码的中文其编码是windows下的本地编码(GBK)
在idea 整合的 maven中使得默认vm 的编码是utf-8.所以出现控制台乱码.

解决方案:如图将maven 运行时vm文件编码设置为本地windows默认编码.解决问题.

 

 

----DarchetypeCatalog=internal -Dfile.encoding=GBK

maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa

 

 

TRANSLATE with x English
Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian  
maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa   TRANSLATE with maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa COPY THE URL BELOW maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa Back EMBED THE SNIPPET BELOW IN YOUR SITE maven 打包时报错 (Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (defa Enable collaborative features and customize widget: Bing Webmaster Portal Back
上一篇:linux – 为什么`find`喜欢`stat`或`fstat`这么多?


下一篇:Java 8 - Lambda表达式