WeCross-Account-Manager 启动 start.sh 报错
Emperortino opened this issue · 1 comments
问题描述
WeCross-Account-Manager 执行脚本 start.sh 时 出现错误
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContextConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newRestRequestFilter' defined in class path resource [com/webank/wecross/account/service/config/UAManagerConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.service.RestRequestFilter]: Factory method 'newRestRequestFilter' threw exception; nested exception is java.lang.ClassCastException: class org.bouncycastle.asn1.DLSequence cannot be cast to class org.bouncycastle.asn1.ASN1Integer (org.bouncycastle.asn1.DLSequence and org.bouncycastle.asn1.ASN1Integer are in unnamed module of loader 'app')
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceContextConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newRestRequestFilter' defined in class path resource [com/webank/wecross/account/service/config/UAManagerConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.service.RestRequestFilter]: Factory method 'newRestRequestFilter' threw exception; nested exception is java.lang.ClassCastException: class org.bouncycastle.asn1.DLSequence cannot be cast to class org.bouncycastle.asn1.ASN1Integer (org.bouncycastle.asn1.DLSequence and org.bouncycastle.asn1.ASN1Integer are in unnamed module of loader 'app')
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceConfig': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newRestRequestFilter' defined in class path resource [com/webank/wecross/account/service/config/UAManagerConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.service.RestRequestFilter]: Factory method 'newRestRequestFilter' threw exception; nested exception is java.lang.ClassCastException: class org.bouncycastle.asn1.DLSequence cannot be cast to class org.bouncycastle.asn1.ASN1Integer (org.bouncycastle.asn1.DLSequence and org.bouncycastle.asn1.ASN1Integer are in unnamed module of loader 'app')
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newRestRequestFilter' defined in class path resource [com/webank/wecross/account/service/config/UAManagerConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.service.RestRequestFilter]: Factory method 'newRestRequestFilter' threw exception; nested exception is java.lang.ClassCastException: class org.bouncycastle.asn1.DLSequence cannot be cast to class org.bouncycastle.asn1.ASN1Integer (org.bouncycastle.asn1.DLSequence and org.bouncycastle.asn1.ASN1Integer are in unnamed module of loader 'app')
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.webank.wecross.account.service.RestRequestFilter]: Factory method 'newRestRequestFilter' threw exception; nested exception is java.lang.ClassCastException: class org.bouncycastle.asn1.DLSequence cannot be cast to class org.bouncycastle.asn1.ASN1Integer (org.bouncycastle.asn1.DLSequence and org.bouncycastle.asn1.ASN1Integer are in unnamed module of loader 'app')
版本
- WeCross-Account-Manager [WeCross-Account-Manager-1.2.1]
- Java: [jdk14]
- kali 2022.2