idea启动dubbo项目常见错误处理

duubo-demo地址:https://gitee.com/fengjx/dubbo-demo;

git pull后项目架构为

idea启动dubbo项目常见错误处理

maven install

idea启动dubbo项目常见错误处理

mvn后若出现dependency not found错误可能是由于idea配置有误,改为

idea启动dubbo项目常见错误处理

若pom依赖zkclient继续报错,配置改为

<dependency>
    <groupId>com.101tec</groupId>
    <artifactId>zkclient</artifactId>
    <version>0.10</version>

</dependency>

然后配置tomcat,先启动server,再启动client,完成

idea启动dubbo项目常见错误处理