在笔者将maven装好并配置好环境变量之后,在idea打开一个springboot项目,出现如下错误:

错误信息;

Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.14.RELEASE from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): /var/lib/maven/repo/org/springframework/boot/spring-boot-starter-parent/1.5.14.RELEASE/spring-boot-starter-parent-1.5.14.RELEASE.pom.part.lock (No such file or directory) and 'parent.relativePath' points at no local POM @ line 5, column 13

 

1. 尝试过忽略证书验证,参考:

   无效

2. 尝试过更换localRepository的位置

   无效

3. 最后考虑权限问题:参考:https://blog.csdn.net/qq_33278354/article/details/103684956

   问题得到解决

mac 对文件的权限是每次配置环境的时候需要考虑进去的事情。

相关文章:

  • 2021-08-16
  • 2021-04-15
  • 2023-03-20
  • 2021-08-25
  • 2021-09-01
  • 2021-11-13
  • 2021-09-20
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2021-12-23
  • 2021-09-06
  • 2021-07-14
相关资源
相似解决方案