IDEA报错如下
A problem occurred configuring root project 'tools'.
> Could not resolve all dependencies for configuration ':classpath'.
> Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'Bstek(http://nexus.bsdn.org/content/groups/public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/8.0.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
纯Java萌x,在学,请容忍
是不是使用http就可以了,不用https
File-->Settings-->输入框中搜索Maven关键字
需要更改上图中所框选的三个地方,这样创建的项目就可以使用自己安装配置的maven环境了。