项目出现的问题:
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'weChatPayConfig' defined in class path resource [com/Config/WeChatPayConfig.class]: factory-bean reference points back to the same bean definition
google在线翻译:
由于:org.springframework.beans.factory.BeanDefinitionStoreException:在类路径资源[com / Config / WeChatPayConfig.class]中定义了名称为“weChatPayConfig”的无效bean定义:工厂bean引用指向同一个bean定义
原因:
方法名修改一下就可以了