警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name ‘dataSource’ defined in class path resource [spring/spring-dao.xml]: Could not resolve placeholder ‘jdbc.driver’ in value "jdbc.driver";nestedexceptionisjava.lang.IllegalArgumentException:Couldnotresolveplaceholder′jdbc.driver′invalue"{jdbc.driver}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.driver' in value "jdbc.driver";nestedexceptionisjava.lang.IllegalArgumentException:Couldnotresolveplaceholder′jdbc.driver′invalue"{jdbc.driver}"
二月 17, 2020 7:32:40 下午 org.springframework.test.context.TestContextManager prepareTestInstance
严重: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@115b42e] to prepare test instance [com.cl.shop.dao.AreaDaoTest@291ae]
java.lang.IllegalStateException: Failed to load ApplicationContext
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
了解课程