JAVA导入工程遇见Could not transfer artifact io.rest-assured:rest-assured:pom:4.2.0解决办法
问题:
用idea导入已有的工程,操作File->Invalidate Caches/Restart后,点击右上角的Run,报以下异常:“Could not transfer artifact io.rest-assured:rest-assured:pom:4.2.0”如下图所示:
解决办法:
因为Maven目录配置的问题,打开File->New Projects Settings->Settings for New Projects
选择里面的Build,Execution,Deployment->Build Tools ->Maven 修改“Maven home directory","User settings file","Local repository"
按如下说明修改成本机器配置,问题解决。
https://www.cnblogs.com/handhead/
莫问收获,但问耕耘