(以下内容为自己在学习和开发中所遇到的问题及解决办法,如有不当之处,欢迎指正)
分布式maven项目启动服务时报错:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener。
如图:
分析原因,是因为连接到zookeeper超时,需要检查spring配置中的zookeeper地址是否正确。
(以下内容为自己在学习和开发中所遇到的问题及解决办法,如有不当之处,欢迎指正)
分布式maven项目启动服务时报错:Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener。
如图:
分析原因,是因为连接到zookeeper超时,需要检查spring配置中的zookeeper地址是否正确。