You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newAdminContext' defined in class path resource [com/webank/wecross/config/AdminContextConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'p2PProcessorConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'routineManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HTLCManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newAdminContext' defined in class path resource [com/webank/wecross/config/AdminContextConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed
2022-04-04 19:40:58.537 [main] ERROR Service() - main, e:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'weCrossHostConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'p2PProcessorConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'routineManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HTLCManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newAdminContext' defined in class path resource [com/webank/wecross/config/AdminContextConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed 重现方式
重现 BUG 的操作步骤。
例如:
BUG描述
###三个报错如下
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newAdminContext' defined in class path resource [com/webank/wecross/config/AdminContextConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'p2PProcessorConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'routineManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HTLCManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newAdminContext' defined in class path resource [com/webank/wecross/config/AdminContextConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed
2022-04-04 19:40:58.537 [main] ERROR Service() - main, e:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'weCrossHostConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'p2PProcessorConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'routineManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HTLCManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManagerConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newAdminContext' defined in class path resource [com/webank/wecross/config/AdminContextConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.RouterLoginAccountContext]: Factory method 'newAdminContext' threw exception; nested exception is com.webank.wecross.exception.WeCrossException: routerLogin failed for: http request failed
重现方式
重现 BUG 的操作步骤。
例如:
3.cd ~/wecross-networks
4.vim ipfile
在文件中键入以下内容
127.0.0.1:8250:25500
127.0.0.1:8251:25501
5.bash ./WeCross/build_wecross.sh -n payment -o routers-payment -f ipfile
成功输出如下信息
[INFO] Create routers-payment/127.0.0.1-8250-25500 successfully
[INFO] Create routers-payment/127.0.0.1-8251-25501 successfully
[INFO] All completed. WeCross routers are generated in: routers-payment/
6. ......一路按照官方文档直到启动路由bash start.sh出现以上报错。
截图
环境
希望大佬解答一下,为什么会出现以上错误,以及我需要如何解决这些错误
The text was updated successfully, but these errors were encountered: