这个坑搞了我一天,百度上都没有找到有效的解决方法,最后是用bing搜索到了。
参考了github的两个地方:
https://github.com/apache/dubbo/issues/826
https://github.com/dangdangdotcom/dubbox/issues/259
原因:
1、dubbo版本:2.5.10
2、fst序列化依赖缺少
我的解决方法,在pom文件加上以下依赖:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>2.6.1</version>
</dependency>
<dependency>
<groupId>fst</groupId>
<artifactId>de.ruedigermoeller</artifactId>
<version>2.54</version>
</dependency>
我的问题解决~~