dubbo遇到的问题

本文分析了Spring Boot应用中遇到的错误,包括 KeeperErrorCode=NodeExists、RpcException:ForbidConsumer 和数据库连接问题。解决方法涉及移除dataSource的初始化,网络连接问题及手动关闭SqlSession的警告。关键词:Spring Boot、NodeExists、数据库连接、SqlRecoverableException、禁用消费者。

Error:KeeperErrorCode = NodeExists for
正常情况

RpcException: Forbid consumer
提供者没有启动

main ERROR pool.DruidDataSource: init datasource error
去掉dataSource中的init就好了

java.sql.SQLRecoverableException: IO 错误: The Network Adapter could not establish the connection 同上 Loading properties file from class path resource [db.properties] 同上

Invocation of init method failed; nested exception is java.sql.SQLRecoverableException: IO 错误: The Network Adapter could not establish the connection
同上

WARN support.DisposableBeanAdapter: Invocation of destroy method ‘close’ failed on bean with name ‘sessionTemplate’: java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
同上

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值