
bug
壮壮马
平平无奇马壮壮
展开
-
cmd检查java版本时,could not open `D:\java\jdk\lib\amd64\jvm.cfg
将jdk和jre的bin目录前移到C:\Program Files (x86)\Common Files\Oracle\Java\javapath;前面,使其优先级高于后者即可!原创 2022-09-01 15:23:32 · 977 阅读 · 0 评论 -
Invalid bean definition with name ‘xxx-rcc-Service.FeignClientSpecification‘
合并微服务代码时编译通过,启动时报错: Invalid bean definition with name 'xxx-rcc-Service.FeignClientSpecification'原因: 多个接口上的@FeignClient(“相同服务名”)会报错,overriding is disabled。解决办法: 在application.yml中配置spring: main: allow-bean-definition-overriding: true ———————————————— 版转载 2022-07-11 10:45:03 · 269 阅读 · 0 评论 -
找不到微服务暴露的接口
原因分析: 无法注入,UserClient(package )与标有@EnableFeignClients注解的启动类OrderApplication(package com.order)不在同一个包下。原创 2022-07-10 20:55:01 · 298 阅读 · 0 评论 -
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embe...
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).已经配置了数据源但是仍然报错未配置。...转载 2022-07-10 20:42:06 · 140 阅读 · 0 评论 -
Exception:No serializer found for class and no properties discovered to create BeanSerializer
报错信息: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.springframework.context.expression.StandardBeanExpressionResolver and no properties discovered to create BeanSerializer原创 2022-07-10 00:16:16 · 2813 阅读 · 3 评论