问题:
用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"
按如下说明修改成本机器配置,问题解决。
标签:JAVA,assured,4.2,transfer,rest,pom,io From: https://www.cnblogs.com/handhead/p/17735853.html