网上很多都说是spring版本问题。
我这里有个简便的解决办法:就是改成index。数字代表第几个属性
<constructor-arg index="0" value="${redis.host1}"></constructor-arg>
<constructor-arg index="1" value="${redis.port1}"></constructor-arg>
网上很多都说是spring版本问题。
我这里有个简便的解决办法:就是改成index。数字代表第几个属性
<constructor-arg index="0" value="${redis.host1}"></constructor-arg>
<constructor-arg index="1" value="${redis.port1}"></constructor-arg>