SpringBoot自动注入出现Consider defining a bean of type ‘xxx‘ in your configuration问题解决方案

时间:2025-04-02 13:45:54

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

Description:

Field redisUtil in required a bean of type '.redis.RedisUtil' that could not be found.

The injection point has the following annotations:
    - @(required=true)


Action:

Consider defining a bean of type '' in your configuration.