I am using Eclipse and I have turned on Build Automatically in Build Menu.
I have a Run Configuration like this.
It is pointing to ResourceServerApplication.java in Spring Boot App.
The problem is after I build the workspace then I try to run this DEBUG mode, there will be an error saying that 'Could not resolve placeholder in string value.'
Then I have to run the clean install command in Eclipse in order to make the above DEBUG mode work.
Edit:
I have included multiple property file from multiple maven projects by using the below code in spring.xml.
<context:property-placeholder location="classpath:config/my-config1.properties" ignore-unresolvable="true" system-properties-mode="OVERRIDE"/>
<context:property-placeholder location="classpath:config/my-config2.properties" ignore-unresolvable="true" system-properties-mode="OVERRIDE"/>