1.Caused by:org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition w
項目出現的問題: (解決方案:修改方法名)
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定義