![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springcloud
鲁尼的小宝贝
这个作者很懒,什么都没留下…
展开
-
get table meta error:Failed to fetch schema of t_metadata_history
在使用SEATA做分布式事务的时候,出现以下问题:2022-05-08 00:58:03.151 [http-nio-2638-exec-2] INFO org.poem.controller.TMetadataController - TPlatformMetadataController -> saveOrUpdateMetadata {"currentVersion":"version-1","datasourceId":720452110768017408,"maxVersion":1原创 2022-05-08 01:04:33 · 2568 阅读 · 3 评论 -
java.lang.NoClassDefFoundError: org/springframework/kafka/core/MicrometerProducerListener
在打架SpringBoot+SpringCloud的架构的时候,使用到了Spring-Kafka的包。出现了以下的错误Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.kafka.core.ProducerFactory]: Factory method 'kafkaProducerFactory' threw exception;原创 2021-04-28 22:54:12 · 5598 阅读 · 0 评论 -
SpringCloud 使用OpenFeign调用其他服务的时候feign.RetryableException: Read timed out executing
在使用 OpenFeign调用其他服务的时候,由于数据处理的原因,调用的时候出现超时的异常his application has no explicit mapping for /error, so you are seeing this as a fallback.Wed Apr 14 23:42:54 CST 2021There was an unexpected error (type=Internal Server Error, status=500).Read timed ou.原创 2021-04-14 23:49:47 · 779 阅读 · 2 评论 -
Nacos连接Mysql8.0+数据库修改,不需要修改源码
Nacos连接Mysql8.0+数据库踩坑,不修改源码nacos使用mysql数据库做持久化时,如果mysql数据库版本是8.0+。需要在nacos安装目录下,新建plugins/mysql目录,在目录中放入合适的mysql驱动,这样nacos就能使用mysql8.0+作为持久化数据库然后上传mysql-connector-java-8.xxx.xxx.jar到当前的目录下就可以了。重启应用就可以了。...原创 2021-01-30 19:48:33 · 535 阅读 · 0 评论 -
Centos7+ 使用java.awt.Font的时候 java.lang.NullPointerException
在使用Java添加图片水印的时候,在windows上显示正常,但是在centos上显示不正常java.lang.NullPointerException java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262) java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)原创 2021-01-14 16:41:40 · 1274 阅读 · 0 评论 -
alibaba-spring-cloud 种子项目
近期在使用alibaba spring cloud做项目,每次都要从头开始创建,很麻烦,所以就创建了一个springcloud的模板项目项目地址:https://github.com/poemp/alibaba-springcloud-seed其中的模块分别是:seed-admin 管理目录 seed-api api中心,对外调用,使用feigin seed-auth 授权中心 sedd-boot-s...原创 2020-08-20 16:53:41 · 195 阅读 · 0 评论 -
feign.RetryableException: Read timed out executing POST http:/******
使用 feign做apicenter的时候, provider需要到数据平台请求数据,出现了一下的错误:feign.RetryableException: Read timed out executing POST :http://***/v1/***/406 at feign.FeignException.errorExecuting(FeignException.java...原创 2019-10-22 12:23:22 · 2403 阅读 · 0 评论