Could not resolve Spring property placeholder

前端 未结 7 2414
有刺的猬
有刺的猬 2020-11-27 15:13

I have my config:





        
7条回答
  •  迷失自我
    2020-11-27 15:32

    You may have more than one org.springframework.beans.factory.config.PropertyPlaceholderConfigurer in your application. Try setting a breakpoint on the setLocations method of the superclass and see if it's called more than once at application startup. If there is more than one org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, you might need to look at configuring the ignoreUnresolvablePlaceholders property so that your application will start up cleanly.

提交回复
热议问题