gradle 项目报错
the trustAnchors parameter must be non-empty
- 解决方案:导入仓库证书到本地jdk的 \lib\security 里面
keytool.exe -import -v -trustcacerts -alias gradleplugin -file gradle.org.crt -storepass changeit -keystore %JAVA_HOME%/lib/security/cacerts
push errors
denied: requested access to the resource is denied
unauthorized: authentication required
- 删除
~/.docker/config.json
- 配置
~/.docker/config.json
auth 值为 base64('user:password')
{
"auths": {
"172.17.40.82": {
"auth": "YWRtaW46S2VjMTIzNDU="
}
},
"credsStore": "desktop"
}