大三寒假生活9

今天实验没有往下进行,搞了一下午的eclipse,然后学习了一些scala的知识。明天继续弄实验和eclipse。

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

在网上找到了两种解决方案。

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

  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.  大功告成

2、原文地址:https://blog.csdn.net/xuefeng0707/article/details/42157311

修改settings.xml,添加:

  1. <mirror>
  2.  <id>Central</id>
  3.  <url>http://repo1.maven.org/maven2</url>
  4.  <mirrorOf>central</mirrorOf> 
  5. </mirror>
      
    而后删除项目重新创建,或者Force Update

3、原文地址:https://blog.csdn.net/xihuanyuye/article/details/79570607

在mvn项目下pom.xml文件下手动

项目有jar包可以直接在里边加上这段

<dependencies>
   <dependency>

     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-resources-plugin</artifactId>
     <version>2.6</version>
    </dependency>

</dependencies>
在建好的mvn项目上run as --》maven install下载即可

原文地址:https://www.cnblogs.com/quyangzhangsiyuan/p/12266650.html