I am trying to bind the values in my application.properties file in my Springboot application to my external config class.
I am using the @Value annotation to mark the variable I want passed in from application.properties file and my application.properties file looks like this
server.port=9000
Access-Control-Allow-Origin: *
app.developerName = "f21ad267-e241-4ed0-8943-721fa90bcf3a"
Any help would be appreciated as I haven't got very far with the springboot documentation and I am unsure of what I am doing wrong