dubbo依赖
springboot整合dubbo引入依赖(导入的2.6.2版本)
<dependency> <groupId>com.alibaba.boot</groupId> <artifactId>dubbo-spring-boot-starter</artifactId> <version>0.2.0</version> </dependency>
spring+xml配置整合dubbo引入依赖
<dependency> <groupId>com.alibaba</groupId> <artifactId>dubbo</artifactId> <version>2.6.2</version> </dependency> <!--操作zookeeper的客户端,dubbo在2.6以后版本用的是curator,之前是zkclient--> <dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-framework</artifactId> <version>2.12.0</version> </dependency>
dubbo2.x版本官网