惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
B
Blog
博客园 - Franky
I
InfoQ
A
About on SuperTechFans
博客园_首页
L
LangChain Blog
量子位
腾讯CDC
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
美团技术团队
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
G
Google Developers Blog
Last Week in AI
Last Week in AI

博客园 - zjhgx

hjdang 从jdk11升级到jdk25遇到的问题 腾讯云服务器遭受大量请求攻击导致网页打不开 capacitor的android项目接入穿山甲遇到的坑 class file for org.apache.shiro.lang.util.Nameable not found class file for org.apache.shiro.lang.util.Nameable not found 使用capacitor遇到的问题记录 shiro的cookie去掉domain后导致用户无法登陆 android真机调试遇到的问题 用java爬取京东商品页注意点 SEO 经验记录 使用goaccess统计nginx日志 nginx日志按天分割 记一次流量爆发导致服务器无响应的记录 mac 安装完Navicat Premium 提示已损坏 无法打开的处理方法 腾讯云问题汇总 vue-element-admin npm install 错误 quasar <q-page>下面<div>自动计算height的问题 Adsense遇到的问题 quasar ssr模式出现了CLS issue vue ssr里面在template不能出现this,create时this还没有
web项目启动时dubbo报错: No provider available for the se...
zjhgx · 2024-01-13 · via 博客园 - zjhgx
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.davidhu.shopguide.api.service.UserEventService. No provider available for the service com.davidhu.shopguide.api.service.UserEventService from the url zookeeper     ://localhost:2181/org.apache.dubbo.registry.RegistryService?application=com-hu-shopguide-consumer&dubbo=2.0.2&init=false&interface=com.davidhu.shopguide.api.service.UserEventService&metadata-type=remote&methods=saveUserEvent,removeById,lambdaQuery,r     emoveByMap,save,getObj,update,saveYunpanSearchLog,saveOrUpdateBatch,remove,listByIds,getBaseMapper,removeByIds,updateBatchById,lambdaUpdate,saveOrUpdate,listMaps,saveBatch,query,listObjs,count,list,getMap,updateById,pageMaps,listByMap,getById,getOne     ,page&pid=4130&qos.enable=false&reference.filter=traceUser&register.ip=192.168.1.103&release=2.7.8&retries=0&side=consumer&sticky=false&timeout=300000&timestamp=1705082694911 to the consumer 192.168.1.103 use dubbo version 2.7.8

一开始以为是网络问题,但把代理关掉,重启电脑也没法解决。后来看到zookeeper在admin项目启动时有个警告:

2024-01-13 02:12:06,266 [myid:] - WARN  [NIOWorkerThread-11:NIOServerCnxn@364] - Unexpected exception
966 EndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /127.0.0.1:55084, session = 0x0

以为是zookeeper问题,用zookeeper自带的client zkClient 连上去,发现 ls /dubbo/ervice com.davidhu.shopguide.api.service.UserEventService/provider 确实是个空,而其他的Service都有值。最终发现mvn clean install解决问题。真是一个坑啊。下次再分析下代理引起的dubbo问题。