eclipse maven 报错Could not get the value for parameter encoding for plugin execution default

问题描述:更改默认的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:UsersYourUserName.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:UsersYourUserName.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、转载请务必注明出处。

原文地址:https://www.cnblogs.com/pangguoming/p/6922612.html