I have a external configuration file(out side jar). I try to run and expected
that value in external file will override value in internal file(application.properties
in \resource\
- in jar file).
I read Documentation and try this:
java -jar ccgame-1.0.jar --spring.config.location=classpath:/application.properties,file:/production.properties
This not working.
My jar file at \target\
directory and my production.properties
too(at \target\
)
How can I resolve my problem?
- Where should I put external config file ?
- And what I have to do ?