I have two properties in my application properties and trying to overwrite them from command line arguments , but its not overwriting, I have checked the variable name/etc . all is fine but still isn't being overwritten. Please note: it was being overwritten earlier suddenly it stopped.
application.properties:
com.records=default
com.count=default
Command used to run from command line is: java -jar myJarname.jar "--com.records=10 --com.count=10"
Also, my program works perfectly fine when i try to overwrite just one command line argument and its able to do so. But when i try to over write application.properties with multiple command line arguments , it fails.