springboot+dubbo开发笔记(二)

关于dubbo服务中心的安装

原因

由于本次系统模块较多,各自间调用复杂,故而想着整理一下模块间的调用逻辑,理清各个模块的在整个系统中充当的作用,从apache dubbo官网中的Dubbo管理控制台介绍,自行到github下载,自己打包一个管理台的web应用,然后发布到自己的web容器中。这里由于本人打包过程遇到问题:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dubbo-admin: Compilation failure -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

因此保留此方法,待解决。
这里直接提供已经打好的war包:
https://pan.baidu.com/s/1HGPBvilX91j9SzJPrzDC4g
提取码:7snr

war包部署

删除tomcatwebapps下的其它应用,将war包放入,重启tomcat。

密码和zk地址的修改

可以在dubbo.properties中对用的key修改value值。

访问治理中心

http://10.20.21.123:8080/dubbo-admin-2.5.4-jdk1.8
默认用户名和密码:
root
root

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值