Unable to read values from .property files - v15

Hello! I’ve been trying to store environment variables inside a .properties file but for some reason, I am not able to read them using the @Value annotation. I’ve followed the suggestions here: How do we specify environment-specific (DEV, STAGING, PROD) properties in BloomReach? and also tried to add them to the property files at /conf (platform.properties and hst.properties), but nothing seems to work - trying to read a value with annotation @Value always returns null. Any idea what could I be doing wrong or any suggestions on what might be causing this issue?

You can’t use spring annotations for most of the CMS/Site classes. Only spring managed components will get processed, see:

Hello @Georgi_Andonov,

We are happy you are part of Bloomreach Developer’s Community.
Thank you for reaching out to us.
We hope we have answered your queries and therefore marking this thread for Closure.
Looking forward to your continuous contribution towards our vibrant Bloomreach Community.

Thank you