标签墙

bug

docker打包出现unauthorized的解决

  ,

在使用docker打包项目的时候,出现以下异常:
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.11:dockerBuild (default-cli) on project xxx: Build to Docker daemon failed, perhaps you should set a credential helper name with the configuration ‘’ or set credentials for ‘registry.hub.docker.com’ in your Maven settings: Unauthorized for registry.hub.docker.com/library/openjdk: 401 Unauthorized
解决办法:docker登录会同时支持邮箱和id登录,但是,在windows的客户端登陆时,请使用docker id登录,这样才能够注册上仓库,否则无法通过验证。

More...

使用@FeignClient出现java.lang.IllegalStateException

  ,

使用@FeignClient出现java.lang.IllegalStateException

More...