ruoyi-cloud新建子模块报错Consider defining a bean of type ‘com.ruoyi.system.api.RemoteLogService‘

1.你不需要引入Log注解和相关的内容&#xff0c;直接注释掉ruoyi-common-log <!-- RuoYi Common Log --><!--<dependency>--

1.你不需要引入Log注解和相关的内容,直接注释掉ruoyi-common-log

        <!-- RuoYi Common Log -->
<!--        <dependency>-->
<!--            <groupId>com.ruoyi</groupId>-->
<!--            <artifactId>ruoyi-common-log</artifactId>-->
<!--        </dependency>-->

2.需要Log模块,在启动类上加上注解

@EnableRyFeignClients

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
public class MineGuitarBizApplication {

    public static void main(String[] args) {
        SpringApplication.run(MineGuitarBizApplication.class, args);
    }

}

发布者:admin,转转请注明出处:http://www.yc00.com/web/1738333040a4038343.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信