节点不属于群组1时,启动webase-front失败
CodingCattwo opened this issue · 1 comments
CodingCattwo commented
部署/扩容的新节点,不包含在群组1中,前置服务启动报错
报错日志如下
2021-05-17 14:41:39.617 [main] INFO Web3Config() - init bcos sdk instance, please check sdk.log
2021-05-17 14:41:40.806 [main] INFO Web3Config() - init client version
2021-05-17 14:41:40.810 [main] INFO Web3Config() - get rpcWeb3j(only support rpc) client:org.fisco.bcos.sdk.client.ClientImpl@dcaa0e8
2021-05-17 14:41:40.958 [main] WARN AnnotationConfigEmbeddedWebApplicationContext() - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contractService': Unsatisfied dependency expressed through field 'transService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transService': Unsatisfied dependency expressed through field 'keyStoreService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'keyStoreService': Unsatisfied dependency expressed through field 'cryptoSuite'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'common' defined in class path resource [com/webank/webase/front/base/config/Web3Config.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.fisco.bcos.sdk.crypto.CryptoSuite]: Factory method 'getCommonSuite' threw exception; nested exception is org.fisco.bcos.sdk.BcosSDKException: create client for group 1 failed! Please check the existence of group 1 of the connected node!
2021-05-17 14:41:40.959 [main] INFO LocalContainerEntityManagerFactoryBean() - Closing JPA EntityManagerFactory for persistence unit 'default'
2021-05-17 14:41:41.002 [main] INFO AutoConfigurationReportLoggingInitializer() -
CodingCattwo commented
新版本已修复该bug,1.5.0版本可以使用附件zip包中的jar包替换webase-front/apps中的WeBASE-Front.jar后,重启即可
下载失败时,可以使用CDN进行该zip包的下载 WeBASE-Front.zip cdn