环境问题:Cannot Resolve

Failure to transfer redis.clients:jedis:pom:3.7.1 from https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of aliyunmaven has elapsed or updates are forced. Original error: Could not transfer artifact redis.clients:jedis:pom:3.7.1 from/to aliyunmaven (https://maven.aliyun.com/repository/public): java.net.SocketException: Connection reset

Try to run Maven import with -U flag (force update snapshots)

在加载依赖的时候,出现以上错误,并且依赖全部打上红色波浪线

解决方式:

点击错误里面的:Try to run Maven import with -U flag (force update snapshots)


转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 1909773034@qq.com

×

喜欢就点赞,疼爱就打赏