异常现象:java.lang.NumberFormatException: For input string: "${initialSize}"
问题原因:那是因为spring根本没有加载jdbc.properties文件
解决办法:1、如果是spring加载的本地jdbc.properties:<context:property-placeholder location="D:/opt/wf/jztappservice/jdbc.properties" ignore-unresolvable="true" />
2、如果是spring加载的项目下的src里的jdbc.properties,则 <context:property-placeholder location="../*.properties" ignore-unresolvable="true" order=“1”/>天津order="1"