环境问题: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)

×

喜欢就点赞,疼爱就打赏