搭建springboot-dubbo遠程調用遭遇的若干問題

1.首先是idea掛了,無法連接到spring.io,使用網上的方法都行不通,索性直接創建maven項目,遇到pom文件無法import change,看看parent是否少了version

2.The bean 'dubboConfigConfiguration.Single', defined in null, could not be registered.

application.properties文件配置Application.properties設置參數:spring.main.allow-bean-definition-overriding=true

3.在consumer端@Reference注入爲null的問題,原因是在springboot的啓動類DemoApplication中沒有加入@EnableDubbo

掃描dubbo@reference註解
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章