问答详情
源自:3-6 dao层开发

第一次test就报出的两个错,有大佬帮忙看看怎么解决下吗?

java.lang.IllegalStateException: Failed to load ApplicationContext

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.Driver' in value "${jdbc.Driver}"

Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.Driver' in value "${jdbc.Driver}"

提问者:贞博 2018-11-02 15:54

个回答

  • 哒象
    2018-11-08 13:34:40

    看看是不是跟你你在properties的jdbc.Driver一致 大小写什么的