問題描述:更改默認的maven倉庫路徑完成后、即存maven項目或者新建maven項目的時候出現如下錯誤
Could not get the value for parameter encoding for plugin execution default
原因分析:當問題解決后、回首想想應該是當時在更改本地倉庫(【自學maven系列】之修改eclipse的maven默認倉庫路徑)的最后一步、也就是在重新download默認的maven包的時候出現了問題、記得當時已經24點之后、電腦鎖屏了一會無線可能斷了、造成jars沒有download完全
解決辦法:解決方案來源於StackOverFlow、原文地址如下
>>>> http://stackoverflow.com/questions/25787197/error-shown-when-creating-new-maven-project-in-eclipse
譯
01. 先關閉eclipse
02. 找到maven的本地倉庫路徑、例如(C:\Users\YourUserName.m2)
03. 刪除文件夾:repository
04. 重新打開eclipse
05. clean 有問題的maven項目、點擊Project → clean...
06. 右鍵有問題的maven項目、依次點擊Maven → Update Project...
07. 關閉eclipse
08. 打開eclipse
09. 在Project Explorer中選中有問題的project
10. 按F5鍵刷新一會
11. 大功告成
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
Solution:
01. Close Eclipse.
02. Navigate to user home directory. (For example: "C:\Users\YourUserName.m2")
03. Delete the "repository" folder.
04. Re-open Eclipse.
05. Click on the Maven project that has an issue and Go to "Project" --> "Clean".
06. Right-click on the project and go to "Maven" --> "Update Project...".
07. Close Eclipse.
08. Open Eclipse.
09. Click on the project folder in the "Project Explorer" window (usually on the left).
10. Hit the "F5" key a few times to Refresh your project.
11. Done!
注:本文原創由`bluetata`發布於blog.csdn.net、轉載請務必注明出處。