其他分享
首页 > 其他分享> > springboot整合dubbo报空指针及解决方法

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

作者:互联网

java.lang.NullPointerException: null

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

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

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

标签:dubbo,java,springboot,Reference,整合,报空,null
来源: https://blog.csdn.net/chaseqrr/article/details/104642677