Skip to content

WeCross-Account-Manager 启动 start.sh 报错 #552

@Emperortino

Description

@Emperortino

问题描述

WeCross-Account-Manager 执行脚本 start.sh 时 出现错误

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions