问答详情
源自:4-1 使用集成测试Service逻辑

启动测试的时候报Error creating bean with name 'dataSource' defined in class path resource [spring/spring-dao.xml]:

Error creating bean with name 'dataSource' defined in class path resource [spring/spring-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.config.ConfigurableBeanFactory.getSingletonMutex()Ljava/lang/Object;

提问者:qq_L_568 2018-06-22 19:36

个回答

  • qq_L_568
    2018-06-22 19:36:49

    https://img2.mukewang.com/5b2cdf3c000151fb10460352.jpghttps://img3.mukewang.com/5b2cdf4800015dd410940223.jpg

    都没问题啊