springboot整合dubbo报空指针及解决方法

java.lang.NullPointerException: null

在用springboot整合dubbo时遇到了这个问题,原因竟然是:@Reference

没错在使用@Reference时肯定很多人像我一样直接输入@Reference就完了,而事实上@Reference有多个

一定要选择com.alibaba.dubbo.config.annotation的

发布了60 篇原创文章 · 获赞 10 · 访问量 9027

猜你喜欢

转载自blog.csdn.net/chaseqrr/article/details/104642677