1. 程式人生 > >[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (default) ......

[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (default) ......

idea打包的時候出現如下報錯:

[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (default) on project CBFlowDataWithSasl: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [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

                                                                                                  圖一

idea打包maven專案的時候出現了上述的錯誤(圖一),在網上搜索了半天沒找到答案,後來突然想到我的這個專案是放在中文名的資料夾下,於是我將專案拷到英文資料夾下,先clean(圖二),然後再隨便執行一個測試檔案,最後進行打包就可以解決問題了。

                                                                           圖二