2017-04-13 82 views
1

当我使用Maven编译我的代码时,出现以下错误。Maven在编译时抛出IllegalCharsetNameException

有人可以请解释为什么发生这种情况,并帮助我解决它?

我的错误:

[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 1.269 s 
[INFO] Finished at: 2017-04-13T13:59:38+02:00 
[INFO] Final Memory: 11M/307M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project panima: Fatal error compiling: CompilerException: IllegalCharsetNameException -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 

Process finished with exit code 1 
+0

有可能是你贴输出线以上的更多信息。你能否看看是否有更多与此有关? – Jens

回答