dubbo知识Part01

知识

0、可以直接把dubbo-admin-ui 加载到webstorm中启动 server也类似
1、后端 dubbo-admin-server
	 mvn install -Dmaven.test.skip=true  跳过测试生成jar包 直接用mvn clean package springboot会报错

异常

1、Failed to bind NettyServer on /192.168.128.1:20880, cause: Address already... 	
	application.yml中的dubbo.protocol.port 改个端口 服务提供者端口已经被钻用
2、Field userService in com.zhang.scblueness.impl.OrderServiceImpl required a bean of type 'com.zhang.scblue.UserService' that could not be found.
The injection point has the following annotations:
	- @org.springframework.beans.factory.annotation.Autowired(required=true)
	使用springboot的话@Autowired不太行换用Reference 

dubbo-admin-0.2.0启动

你可能感兴趣的:(dubbo)