2017-04-13 84 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

回答