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

  1. 删除 ~/.docker/config.json
  2. 配置 ~/.docker/config.json

auth 值为 base64('user:password')

{
	"auths": {
		"172.17.40.82": {
			"auth": "YWRtaW46S2VjMTIzNDU="
		}
	},
	"credsStore": "desktop"
}
posted @ 2022-11-14 18:45  临渊不羡渔  阅读(110)  评论(0编辑  收藏  举报