context:property-placeholder doesn't resolve references

前端 未结 2 1858
故里飘歌
故里飘歌 2020-12-16 03:33

I have next applicationContext.xml file on the root of classpath:



    

        
2条回答
  •  星月不相逢
    2020-12-16 04:02

    I was having the same issue and came across this post but I was unable to resolve it the same way maks did. What ended up working for me was to set the ignoreUnresolvablePlaceholders property value to true.

    
        
            classpath:database.properties
        
        
    
    

    I am using Spring 3.2.3.RELEASE as well. I realize this post is over 4 months old but I figured someone might find it useful.

提交回复
热议问题