天天看点

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

解决办法:解决方案来源于StackOverFlow、原文地址如下

     译

      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.

          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、转载请务必注明出处。

继续阅读