I am trying to load an external properties file into my spring boot app.
initially I used @PropertySource in the config class.
but now I want to remove this annotation so th
It might not be a common issue, but I faced it. You also must have an application.properties inside your classpath even when you replace it with --spring.config.name (I had mine in gitignore due to sensitive information).