Dubbo unable to register problem
error starting server:
Failed to register consumer:// 192.168.60.1/com. Duck. Service. The UserService?application=user-web& category=consumers& check=false& default.check=false& default.reference.filter=regerConsumerFilter& default.timeout=600000& Dubbo = server & amp; interface=com.atguigu.gmall.service.UserService& methods=getReceiveAddressByMemberId,getAllUser& pid=12648& side=consumer& Timestamp = 1583642177210 to zookeeper zookeeper:// 184.108.40.206:2181/com. Alibaba. Dubbo. Registry. RegistryService?application=user-web& client=zkclient& Dubbo = server & amp; interface=com.alibaba.dubbo.registry.RegistryService& pid=12648& timestamp=1583642177225, cause: Zookeeper is not connected yet!
problem, this is due to Linux firewall enabled, causing registration failure.
resolved: turn off the Linux (CentOS7 based) firewall
systemctl stop firewaldeld. service
insert picture description
consumption null pointer exception problem strong>
the reason is that the package name not consistent, do not agree the package name can lead to the provider and consumer is not a node, that consumers will never gain value!!!!!
dubbo could not register problem
consumer null pointer exception
- The principle and return value of get() function in C language
- Xdoc generates API documents based on Java annotations
- [Errno 14] PYCURL ERROR 7 – “couldn’t connect to host”
- Mybatis single parameter pass in exception (How to Fix)
- Multipartfiletofileutils (multipartfile to file)
- Extracting JDBC tool class: JDBC utils
- Abstract method and static method of java interface
- Jtextfield cannot be displayed normally when added to JPanel
- Build a mybatis and it will appear session.selectOne Method error
- How to convert a Java string into a number (stringtonumber)
- [How to Fix]Spring 3.0 could not find acceptable representation
- Comparison between ArrayList and HashMap
- Error in make when installing redis6.0 in centos7
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- [Fixed] Disgusting bug Error:Failed to Load project configuration: cannot parse filemessage: content is not allowed in the preface.
- java.util.zip.zipexception: error in opening zip file
- Exception information: jsonmappingexception: out of start_ ARRAY token
- JAVA: Random access file is always garbled
- JAVA 8: How to Convert List to Map
- The number of control threads and concurrency number of concurrent executor of Java starting gun