一、该问题的重现步骤是什么?
1. blade-log修改成xgy-log,包路径名称修改成springxgy.core.log
2. 在启动类里面修改了引入的BladeCloudApplication,修改如下
3.启动logAppLication报如下错误
Description:
Parameter 0 of constructor in org.springblade.core.log.config.BladeLogToolAutoConfiguration required a single bean, but 2 were found:
- logClient: defined in file [D:\workspace\Springxgy\xgy-service\xgy-log\target\classes\org\springxgy\core\log\feign\LogClient.class]
- org.springblade.core.log.feign.LogClientFallback: defined in unknown location
This may be due to missing parameter name information
Action:
Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
Ensure that your compiler is configured to use the '-parameters' flag.
You may need to update both your build tool settings as well as your IDE.
二、你期待的结果是什么?实际看到的又是什么?
我这是修改错误了吗?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
五、若有更多详细信息,请在下面提供。
org.springblade.core.log.feign.LogClientFallback: defined in unknown location
看着像是没完全改好,还有原本的包名。你执行mvn clean package命令看看控制台有没有报错
作者追问:2024-12-27 09:36
报错了说
LogApplication
类找不到符号


讨论(0)
- 热议问题
-
多数据源报错
3
-
大屏导出单独部署无法展示图片
1
-
BladeX 工作流开发平台插件版工作流配置审批人问题
1
-
我有两个nacos环境,测试环境接口放行可以,正式环境不行
2
-
blade-emqx服务中配置的这两个ip是微服务还是emqx中间件所在的ip
1
-
前端无法连通后端
2
-
vue自定义组件表格自动滚动问题
2
-
BladeX对应的在uni-app + vue3小程序中使用BladeX中的sm-crypto sm加密,报错无法使用
1
-
请问流程设计中有多个节点是 自定义流程表达式,只有第一个节点赋值成功,第二个是空的,如下图
1
-
vue-data如何跟bladex结合 多租户的情况下
1
扫一扫访问 Blade技术社区 移动端