zookeeper与dubbo项目启动过程中,报了一堆这种错误?

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseLineAccountReportService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseTeamAccountReportService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseChaingroupAccountReportService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientVersionService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientVersionLogService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionGroupService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionReleaseService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionReleaseRelationService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestRegistryConfig' defined in class path resource [io/dubbo/springboot/DubboAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.dubbo.config.RegistryConfig]: Circular reference involving containing bean 'io.dubbo.springboot.DubboAutoConfiguration' - consider declaring the factory method as static for independence from its containing instance. Factory method 'requestRegistryConfig' threw exception; nested exception is java.lang.NullPointerException

2023-02-17 12:01:32.261 [main] INFO c.a.dubbo.registry.zookeeper.ZookeeperRegistry - [DUBBO] Unsubscribe: consumer://2.0.0.1/com.haier.openplatform.hfs.client.service.FileCRUDServiceClient?application=indonesia-mes-web-prod&category=providers,configurators,routers&check=false&dubbo=2.5.4.1-SNAPSHOT&init=true&interface=com.haier.openplatform.hfs.client.service.FileCRUDServiceClient&logger=slf4j&methods=findFileByUUID,deleteFileByUID,saveFile&pid=18156&protocol=dubbo&revision=2.0.2&side=consumer&timeout=100000&timestamp=1676606481186&version=1.0.0, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.263 [main] INFO c.a.dubbo.remoting.transport.netty.NettyChannel - [DUBBO] Close netty channel [id: 0x5c3f9618, /10.190.181.16:8767 => /10.135.7.56:20888], dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.264 [DubboSharedHandler-thread-1] INFO com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol - [DUBBO] disconected from /10.135.7.56:20888,url:dubbo://10.135.7.56:20888/com.haier.openplatform.hfs.client.service.FileCRUDServiceClient?anyhost=true&application=indonesia-mes-web-prod&check=false&codec=dubbo&default.delay=-1&default.payload=104857600&default.retries=0&default.timeout=120000&delay=-1&dubbo=2.5.3&heartbeat=60000&init=true&interface=com.haier.openplatform.hfs.client.service.FileCRUDServiceClient&logger=slf4j&methods=deleteFileByUID,findFileByUUID,saveFile&pid=18156&protocol=dubbo&revision=2.0.2&side=consumer&timeout=100000&timestamp=1676606481186&version=1.0.0, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.265 [main] INFO c.a.dubbo.remoting.transport.netty.NettyChannel - [DUBBO] Close netty channel [id: 0x49ed3b76, /10.190.181.16:8770 => /10.138.56.37:20888], dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.266 [main] INFO com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol - [DUBBO] disconected from /10.138.56.37:20888,url:dubbo://10.138.56.37:20888/com.haier.openplatform.hfs.client.service.FileCRUDServiceClient?anyhost=true&application=indonesia-mes-web-prod&check=false&codec=dubbo&default.delay=-1&default.payload=104857600&default.retries=0&default.timeout=120000&delay=-1&dispatcher=message&dubbo=2.5.3&heartbeat=60000&init=true&interface=com.haier.openplatform.hfs.client.service.FileCRUDServiceClient&logger=slf4j&methods=deleteFileByUID,findFileByUUID,saveFile&pid=18156&protocol=dubbo&revision=2.0.2&side=consumer&timeout=100000&timestamp=1676606481186&version=1.0.0, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.266 [main] INFO c.a.dubbo.registry.zookeeper.ZookeeperRegistry - [DUBBO] Unsubscribe: consumer://2.0.0.1/com.haier.openplatform.hfs.client.service.FileServiceClient?application=indonesia-mes-web-prod&category=providers,configurators,routers&check=false&dubbo=2.5.4.1-SNAPSHOT&init=true&interface=com.haier.openplatform.hfs.client.service.FileServiceClient&logger=slf4j&methods=findFileByUUID,deleteFileByUID,saveFile&pid=18156&protocol=dubbo&revision=2.0.2&side=consumer&timeout=100000&timestamp=1676606480520&version=1.0.0, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.266 [main] INFO c.a.dubbo.remoting.transport.netty.NettyChannel - [DUBBO] Close netty channel [id: 0x7f50b08a, /10.190.181.16:8764 => /10.138.56.37:20887], dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.267 [main] INFO com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol - [DUBBO] disconected from /10.138.56.37:20887,url:dubbo://10.138.56.37:20887/com.haier.openplatform.hfs.client.service.FileServiceClient?anyhost=true&application=indonesia-mes-web-prod&check=false&codec=dubbo&default.almId=S00782&default.delay=-1&default.package=hfs&default.retries=0&default.timeout=10000&delay=-1&dispatcher=message&dubbo=2.5.3&heartbeat=60000&init=true&interface=com.haier.openplatform.hfs.client.service.FileServiceClient&logger=slf4j&methods=deleteFileByUID,findFileByUUID,saveFile&pid=18156&protocol=dubbo&revision=2.0.2&side=consumer&timeout=100000&timestamp=1676606480520&version=1.0.0, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.267 [main] INFO c.a.dubbo.remoting.transport.netty.NettyChannel - [DUBBO] Close netty channel [id: 0x7bb6a1f4, /10.190.181.16:8759 => /10.135.7.56:20887], dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.268 [DubboSharedHandler-thread-1] INFO com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol - [DUBBO] disconected from /10.135.7.56:20887,url:dubbo://10.135.7.56:20887/com.haier.openplatform.hfs.client.service.FileServiceClient?anyhost=true&application=indonesia-mes-web-prod&check=false&codec=dubbo&default.almId=S00782&default.delay=-1&default.package=hfs&default.retries=0&default.timeout=10000&delay=-1&dubbo=2.5.3&heartbeat=60000&init=true&interface=com.haier.openplatform.hfs.client.service.FileServiceClient&logger=slf4j&methods=deleteFileByUID,findFileByUUID,saveFile&pid=18156&protocol=dubbo&revision=2.0.2&side=consumer&timeout=100000&timestamp=1676606480520&version=1.0.0, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.268 [main] INFO c.a.dubbo.registry.zookeeper.ZookeeperRegistry - [DUBBO] Unsubscribe: consumer://2.0.0.1/com.haier.cosmo.base.auth.resource.service.IBaseResourceService?application=indonesia-mes-web-prod&category=providers,configurators,routers&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.268 [main] INFO c.a.dubbo.registry.zookeeper.ZookeeperRegistry - [DUBBO] Unsubscribe: consumer://2.0.0.1/com.haier.cosmo.base.auth.resource.service.IBaseResourceService?application=indonesia-mes-web-prod&category=providers,configurators,routers&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.268 [main] INFO c.a.dubbo.registry.zookeeper.ZookeeperRegistry - [DUBBO] Unsubscribe: consumer://2.0.0.1/com.haier.cosmo.base.auth.user.service.IUserService?application=indonesia-mes-web-prod&category=providers,configurators,routers&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.user.service.IUserService&logger=slf4j&methods=queryLoginLogList,queryUsersByFactory,queryListPageInfo,selectByUser,queryUsersUnderFactory,queryOne,update,updateUserRfPwd,checkLogin,deleteBatch,queryList,update2,queryParamUserList2,expire60CosmoLoginCheck,updateUserSysPwdByUserName,updateLockUser,queryUserInfoBySR,selectIsNull,add,loginCheckUser,create365LoginCheck,addLoginLog,queryExportLogList,queryUserListByLoginNames,queryUserAll,updateUserSysPwd,queryParamUserList,initPwd,token,queryUserSendEmail,create365CosmoLoginCheck,checkRfLogin,addExportLog,expire60LoginCheck,queryHandLockUserList,queryById&pid=18156&retries=0&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606487719&version=indonesia-auth-base-prod, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.268 [main] INFO c.a.dubbo.registry.zookeeper.ZookeeperRegistry - [DUBBO] Unsubscribe: consumer://2.0.0.1/com.haier.cosmo.base.auth.user.service.IUserService?application=indonesia-mes-web-prod&category=providers,configurators,routers&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.user.service.IUserService&logger=slf4j&methods=queryLoginLogList,queryUsersByFactory,queryListPageInfo,selectByUser,queryUsersUnderFactory,queryOne,update,updateUserRfPwd,checkLogin,deleteBatch,queryList,update2,queryParamUserList2,expire60CosmoLoginCheck,updateUserSysPwdByUserName,updateLockUser,queryUserInfoBySR,selectIsNull,add,loginCheckUser,create365LoginCheck,addLoginLog,queryExportLogList,queryUserListByLoginNames,queryUserAll,updateUserSysPwd,queryParamUserList,initPwd,token,queryUserSendEmail,create365CosmoLoginCheck,checkRfLogin,addExportLog,expire60LoginCheck,queryHandLockUserList,queryById&pid=18156&retries=0&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606487719&version=indonesia-auth-base-prod, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:01:32.271 [main] ERROR o.s.b.factory.support.DefaultListableBeanFactory - Destroy method on bean with name 'org.springframework.context.annotation.internalScheduledAnnotationProcessor' threw an exception

java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@74e47444: startup date [Fri Feb 17 12:00:04 CST 2023]; root of context hierarchy

at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:404)

at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)

at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)

at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)

at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)

at com.haier.cosmo.im.base.Application.main(Application.java:22)

2023-02-17 12:01:32.274 [main] ERROR o.s.b.factory.support.DefaultListableBeanFactory - Destroy method on bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor' threw an exception

java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@74e47444: startup date [Fri Feb 17 12:00:04 CST 2023]; root of context hierarchy

at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:404)

at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)

at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)

at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)

at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)

at com.haier.cosmo.im.base.Application.main(Application.java:22)

2023-02-17 12:01:32.274 [main] ERROR o.s.b.factory.support.DefaultListableBeanFactory - Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception

java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@74e47444: startup date [Fri Feb 17 12:00:04 CST 2023]; root of context hierarchy

at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:404)

at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)

at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968)

at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:555)

at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)

at com.haier.cosmo.im.base.Application.main(Application.java:22)

2023-02-17 12:01:32.283 [main] ERROR org.springframework.boot.SpringApplication - Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'methodValidationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Unsatisfied dependency expressed through method 'methodValidationPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [com/haier/cosmo/base/auth/shiro/ShiroConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.shiro.spring.web.ShiroFilterFactoryBean]: Factory method 'shiroFilter' threw exception; nested exception is com.alibaba.dubbo.rpc.RpcException: No provider available in [invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.135.7.56:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@6d5a4e59, invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.163.65.101:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@1b78c34b]

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:223)

at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:702)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:527)

at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737)

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)

at com.haier.cosmo.im.base.Application.main(Application.java:22)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [com/haier/cosmo/base/auth/shiro/ShiroConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.shiro.spring.web.ShiroFilterFactoryBean]: Factory method 'shiroFilter' threw exception; nested exception is com.alibaba.dubbo.rpc.RpcException: No provider available in [invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.135.7.56:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@6d5a4e59, invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.163.65.101:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@1b78c34b]

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:923)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:804)

at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:558)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)

at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:220)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1260)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1101)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)

... 19 common frames omitted

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.shiro.spring.web.ShiroFilterFactoryBean]: Factory method 'shiroFilter' threw exception; nested exception is com.alibaba.dubbo.rpc.RpcException: No provider available in [invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.135.7.56:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@6d5a4e59, invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.163.65.101:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@1b78c34b]

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)

... 32 common frames omitted

Caused by: com.alibaba.dubbo.rpc.RpcException: No provider available in [invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.135.7.56:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@6d5a4e59, invoker :interface com.haier.cosmo.base.auth.resource.service.IBaseResourceService -> zookeeper://10.163.65.101:2181/com.alibaba.dubbo.registry.RegistryService?application=indonesia-mes-web-prod&check=false&dubbo=2.5.4.1-SNAPSHOT&interface=com.haier.cosmo.base.auth.resource.service.IBaseResourceService&logger=slf4j&methods=findCommonlyMenu,findAllPermissions,update,delete,findButtonByLoginNameAndFactory,findHandPermissionsByUser,findHeaderMenuTree,findById,create,findHeaderMenuTree2,findMenuUrlByLoginNameAndFactory,findResourceTree,findListByCondition,findBtnByLoginName,findMenuByLoginName,findMenuByLoginNameAndFactory,queryOneWithParent,findMenuUrlPerms,findPermissionsByLoginName,getRolesByUser,addResUser,menuButton,listResUser,findMenuByLoginNameAndFactory2&pid=18156&revision=1.0.1-SNAPSHOT&side=consumer&timeout=10000&timestamp=1676606490003&version=indonesia-auth-base-prod,directory: com.alibaba.dubbo.registry.integration.RegistryDirectory@1b78c34b]

at com.alibaba.dubbo.rpc.cluster.support.AvailableCluster$1.doInvoke(AvailableCluster.java:46)

at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)

at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)

at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)

at com.alibaba.dubbo.common.bytecode.proxy3.findAllPermissions(proxy3.java)

at com.haier.cosmo.base.auth.shiro.PermissionService.getPerms(PermissionService.java:26)

at com.haier.cosmo.base.auth.shiro.ShiroConfig.shiroFilter(ShiroConfig.java:57)

at com.haier.cosmo.base.auth.shiro.ShiroConfig$$EnhancerBySpringCGLIB$$be44ef6f.CGLIB$shiroFilter$8(<generated>)

at com.haier.cosmo.base.auth.shiro.ShiroConfig$$EnhancerBySpringCGLIB$$be44ef6f$$FastClassBySpringCGLIB$$c5c82d43.invoke(<generated>)

at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)

at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)

at com.haier.cosmo.base.auth.shiro.ShiroConfig$$EnhancerBySpringCGLIB$$be44ef6f.shiroFilter(<generated>)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)

... 33 common frames omitted

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1

2023-02-17 12:02:41.782 [Finalizer] WARN com.alibaba.dubbo.config.AbstractConfig - [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.4.1-SNAPSHOT, current host: 2.0.0.1


回答:

No provider available 找不到接口提供方这类错误在分布式系统中很常见,通常出现在接口消费方。这时候你应该在下面几个方向排查问题:

  1. 接口提供方有没有运行起来?
  2. 接口提供方有没有将这个接口正确注册到注册中心?
  3. 接口消费方和提供方是不是连到同一个注册中心?

当注册中心是 zookeeper 时,对于第二个问题,可以用 zkCli 连上去查看。我这里有个视频供参考:

【演示】SpringBoot+Dubbo+ZooKeeper 快速搭建


回答:

报错的意思是,找不到com.haier.cosmo.base.auth.resource.service.IBaseResourceService接口的服务提供方,你看看是不是名字不匹配啥的

以上是 zookeeper与dubbo项目启动过程中,报了一堆这种错误? 的全部内容, 来源链接: utcz.com/p/944996.html

回到顶部