SpringBoot 3.x中,如遇到`A component required a bean of type xxx that could not be found.`报错,请在启动类添加注解:`@ComponentScan(basePackages = {"com.gearwenxin", "你的启动类所在包名"})` Client类型 -> 参数类 -> 响应类:ErnieBotClient、ErnieBot4Client、ErnieBotTurboClient -> ChatErnie...