Override Properties file in Spring WebApp at Runtime

前端 未结 3 1497
耶瑟儿~
耶瑟儿~ 2020-12-22 04:57

I am loading properties file in my Spring WebApplication using PropertyPlaceholderConfigurer as below:



        
3条回答
  •  臣服心动
    2020-12-22 05:21

    you just use in your application-context

    
    

    problem is you just wrongly used location, actual location is vm arg variable key => ${external.props}

提交回复
热议问题