最近用Dubbo在Spring Boot下做了些尝试,总体支持并不算完美,还有很大的提升空间,其中版本兼容性就是问题之一。
参考资料:
http://dubbo.apache.org/zh-cn/docs/user/quick-start.html
https://github.com/JeffLi1993/dubbo-spring-boot-best-practice
上述是官方说明文档和一个实践案例,
在编译时遇到一个版本问题,最终选择下图中的版本,
1 <dependency> 2 <groupId>org.apache.dubbo</groupId> 3 <artifactId>dubbo</artifactId> 4 <version>2.7.1</version> 5 </dependency> 6 <dependency> 7 <groupId>org.springframework</groupId> 8 <artifactId>spring-context</artifactId> 9 <version>4.3.13.RELEASE</version> 10 </dependency>
原文:https://www.cnblogs.com/boxy/p/11008248.html