前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >eclipse maven 报错Could not get the value for parameter encoding for plugin execution default

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

作者头像
庞小明
发布2018-03-09 17:51:14
1.6K0
发布2018-03-09 17:51:14
举报
文章被收录于专栏:pangguomingpangguoming

问题描述:更改默认的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!

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2017-05-31 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档