Spring mvc 未能访问元内省批注接口org.springframework.web.bind.annotation
错误消息Spring mvc 未能访问元内省批注接口org.springframework.web.bind.annotation,spring-mvc,apache-zookeeper,apache-dubbo,Spring Mvc,Apache Zookeeper,Apache Dubbo,错误消息 21:13:46,666 DEBUG AnnotationUtils:1889 - Failed to meta-introspect annotation interface org.springframework.web.bind.annotation.RequestBody: java.lang.NullPointerException com.alibaba.dubbo.rpc.RpcException: No provider available from registry
21:13:46,666 DEBUG AnnotationUtils:1889 - Failed to meta-introspect annotation interface org.springframework.web.bind.annotation.RequestBody: java.lang.NullPointerException
com.alibaba.dubbo.rpc.RpcException: No provider available from registry 172.16.33.23:2181 for service com.itheima.service.CheckItemService on consumer 172.16.33.29 use dubbo version 2.6.0, may be providers disabled or not registered ?
at com.alibaba.dubbo.registry.integration.RegistryDirectory.doList(RegistryDirectory.java:572)
我已经检查了Dubbo注释包和控制器的导入,但发现这是正确的
还有,我的动物园管理员开始了
[root@localhost bin]# ./zkServer.sh start
JMX enabled by default
Using config: /usr/local/zookeeper-3.4.6/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
前端请求成功
看来我们没有问题
谁能指点方向
我几乎能理解错误在哪里,但我不知道该怎么办
[root@localhost bin]# ./zkServer.sh start
JMX enabled by default
Using config: /usr/local/zookeeper-3.4.6/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
[zk: 127.0.0.1:2181(CONNECTED) 1] ls /dubbo/com.itheima.service.CheckItemService
[consumers, configurators, routers, providers]