奇怪的junit测试spring应用问题,找不到property-placeholder:
<context:property-placeholder location="classpath*:*.properties"/>
原因就在classpath*:*.properties
不能写成classpath:*.properties
哪位熟悉spring的property-placeholder原理的请解释一下这是为啥?“classpath*”是什么意思?
奇怪的junit测试spring应用问题,找不到property-placeholder:
<context:property-placeholder location="classpath*:*.properties"/>
原因就在classpath*:*.properties
不能写成classpath:*.properties
哪位熟悉spring的property-placeholder原理的请解释一下这是为啥?“classpath*”是什么意思?