重新按照老师你说的配置了,但还是那个错误:Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2ef9b8bc] to prepare test instance [com.o2o.dao.AreaDaoTest@60611244]
java.lang.IllegalStateException: Failed to load ApplicationContext
还有两个caused by:Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'master' defined in class path resource [spring/spring-dao.xml]: Could not resolve placeholder 'jdbc.master.url' in value "${jdbc.master.url}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.master.url' in value "${jdbc.master.url}"