Ruoyi报‘com.ruoyi.system.api.RemoteLogService‘ that could not be found.

解释

这个因为在引包的时候有些包的配置没有导入进去,想要解决这个问题最简单的方式就是注释掉这个的包的导入。

解决方法

报错

***************************
APPLICATION FAILED TO START
***************************

Description:

Field remoteLogService in com.ruoyi.common.log.service.AsyncLogService required a bean of type 'com.ruoyi.system.api.RemoteLogService' that could not be found.

The injection point has the following annotations:
	- @org.springframework.beans.factory.annotation.Autowired(required=true)


Action:

Consider defining a bean of type 'com.ruoyi.system.api.RemoteLogService' in your configuration.

找到pom.xml的配置文件在这里注注释掉包含这个的配置包就行

        




这样就可以避免这个问题了

你可能感兴趣的:(SpringCloud,Springboot,spring,cloud,spring,boot)