关于报错Consider defining a bean of type 的解决
引用: https://blog.csdn.net/qq_41937388/article/details/106967610