> Using insecure protocols with repositories, without explicit opt-in, is unsupported.

这个问题是因为升级AS之后,项目配置文件需要使用https而不是http链接,可以尝试在http链接的"http"后面加一个"s",我这样改是成功的.参考

Spring源码阅读环境&&Grandle错误异常:Using insecure protocols with repositories, without explicit opt-in, is un_菜鸟老文的博客-CSDN博客


也可以这样:对于非 https 的仓库地址,需要设置 allowInsecureProtocol true

猜你喜欢

转载自blog.csdn.net/xiguoqiang321/article/details/122315170