因为版本的问题:
配置fastdfs微服务的时候报上面的错误,之前我们用的版本是:
<!-- <dependency>--> <!-- <groupId>com.github.tobato</groupId>--> <!-- <artifactId>fastdfs-client</artifactId>--> <!-- <version>1.25.4-RELEASE</version>--> <!-- </dependency>-->
然后现在换成:
<!-- https://mvnrepository.com/artifact/com.github.tobato/fastdfs-client --> <dependency> <groupId>com.github.tobato</groupId> <artifactId>fastdfs-client</artifactId> <version>1.26.1-RELEASE</version> </dependency>
就好了,但是注意不要换成1.27.2...之类的那样也会报错.
有时候,直接用最高版本的,真是太坑人了,所以,还是根据项目来吧.
技术交流QQ群【JAVA,C++,Python,.NET,BigData,AI】:170933152
开通了个人技术微信公众号:credream,有需要的朋友可以添加相互学习