- 博客(3)
- 收藏
- 关注
原创 The bean ‘xxx.FeignClientSpecification‘, defined in null, could not be registered. A bean with that
The bean 'xxx.FeignClientSpecification', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.
2022-06-06 14:02:01
272
原创 服务无法注册到nacos,抛异常Client not connected,current status:STARTING
首先声明我的环境docker容器运行的nacos,版本是2.0.2在windows上以服务的方式启动是正常的,但是换成m1的mac之后,服务可以正常启动,控制台和配置中心都能访问,但是服务无法注册提示Client not connected,current status:STARTING跟踪源码之后发现,有一个9848的端口无法访问,查阅官方文档之后发现2.X之后的nacos版本增加了grpc远程通信端口,也需要由docker一并映射出来,否则就会到时无法初始化连接。...
2021-10-25 21:10:04
18645
6
原创 带时区的String转换成LocalDate、LocalTime、LocalDateTime。例如2021-10-07T15:04:40.6102064+08:00
LocalDate是java8中关于时间日期处理的新特性,与之相关的格式化类为DateTimeFormatterDateTimeFormatter提供了一些常用的格式化模版如果在里面能找到一样格式的模板就可以直接使用了 public static void main(String[] args) { String dateStr = "2011-12-03T10:15:30+01:00"; LocalDateTime localDateTime = LocalDateTime.parse(d
2021-10-08 21:31:14
4605
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人