為什么報(bào)錯(cuò)
為什么我的<context:property-placeholder location="classpath:jdbc.properties" ignore-unresolvable="true"/>報(bào)錯(cuò),說(shuō)是無(wú)法找到context:property-placeholder的聲明;
表頭我加了
?xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/context/spring-context.xsd
配置,在網(wǎng)上找說(shuō)是沒(méi)加剛才的配置
2017-08-24
下面也要加
<beans xmlns="http://www.springframework.org/schema/beans"
??? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
??? xmlns:context="http://www.springframework.org/schema/context"
??? xsi:schemaLocation="http://www.springframework.org/schema/beans
??????? http://www.springframework.org/schema/beans/spring-beans.xsd
??????? http://www.springframework.org/schema/context
??????? http://www.springframework.org/schema/context/spring-context.xsd" >