- 博客(11)
- 收藏
- 关注
原创 Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullPointerEx
SpringBoot集成swagger和knife4j时启动报错swagger版本是3.0.0knife4j版本是3.0.3错误信息:org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException at org.springframew
2022-03-16 11:02:58
1482
原创 Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans
mybatis-plus报错,之前使用mybatis-plus却没有遇到过的问题Description:Field baseMapper in com.baomidou.mybatisplus.extension.service.impl.ServiceImpl required a single bean, but 3 were found: - permissionMapper: defined in file [D:XXX\mapper\PermissionMapper.class] - u
2022-01-06 19:53:49
5310
原创 can not get cluster name in registry config ‘XXX‘, please make sure registry config correct
SpringCloud整合seata1.4.2上传到nacos里的配置文件一定要改成和配置文件里一样的,注意新版本vgroupMapping在yml里是v_Group_Mapping![在这里插入图片描述](https://img-blog.csdnimg.cn/ff59c54ffa124a0a9fa516da9ba9445e.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5byg6ICA5pa
2021-12-10 12:54:22
3324
1
原创 Sentinel整合OpenFeign时发生循环依赖问题的解决方法 Is there an unresolvable circular reference?
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'circleBreakerController': Unsatisfied dependency expressed through field 'paymentService'; nested exception is org.springframework.beans.factory.BeanCurrentlyI
2021-12-05 18:56:41
1115
原创 com.alibaba.cloud.sentinel.feign.SentinelContractHolder.parseAndValidateMetadata(Ljava/lang/Class;)
com.alibaba.cloud.sentinel.feign.SentinelContractHolder.parseAndValidateMetadata(Ljava/lang/Class;)Ljava/util/List; 是因为Sentinel框架SentinelContractHolder类中找不到parseAndValidatateMetadata这个方法旧版本方法名为parseAndValidatateMetadata新版本方法名为parseAndValidateMetadata是
2021-12-05 16:25:55
1386
原创 No Feign Client for loadBalancing defined. Didyou forget to include spring-cloud-starter-loadbalance
Unexpected exception during bean creation; nested exception is java.lang.IllegalStateException: No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?OpenFeign报错No Feign Client for loadBalancing defined. D
2021-12-05 16:23:41
4361
原创 连接Linux的redis遇到connection的问题
标题 Unable to connect to Redisorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSession
2020-12-01 18:05:59
408
原创 Error querying database. Cause: java.lang.UnsupportedOperationException
标题Error querying database. Cause: java.lang.UnsupportedOperationException报错信息如下org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.
2020-12-01 09:24:08
694
原创 Oracle数据库及神通数据库实现数据库数据有则更新或者跳过,没有则添加进数据库
Oracle数据库及神通数据库实现数据库数据有则更新或者跳过,没有则添加进数据库SQL如下:merge into basis_file_type t1USING (SELECT #{aaa} AS afrom dual) t2on (t1.BASIS_TYPE_NAME = t2.a )when not matched theninsert (id, BASIS_TYPE_NAME)VALUES (12312311222312001112121, ‘123123213211’)
2020-11-26 21:05:56
741
原创 com/fasterxml/jackson/databind/exc/InvalidDefinitionException报错解决方式
SpringBoot发布到服务器上启动错误本地启动没有问题,发布到Linux服务器上就报错。错误如下:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-11-25 21:35:54.624 ERROR 6495 --- [ main] o.s.boot.SpringApplication
2020-11-26 10:08:28
3042
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人