# Unable to read values from .property files - v15

**URL:** <https://community.bloomreach.com/t/unable-to-read-values-from-property-files-v15/3929>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [May 22, 2023, 10:46am UTC](https://community.bloomreach.com/t/unable-to-read-values-from-property-files-v15/3929 "2023-05-22T10:46:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Georgi\_Andonov](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/georgi_andonov/32/1262_2.png) [@Georgi\_Andonov](https://community.bloomreach.com/u/Georgi_Andonov)\
**Post date:** [May 22, 2023, 10:46am UTC](https://community.bloomreach.com/t/unable-to-read-values-from-property-files-v15/3929/1 "2023-05-22T10:46:43Z")

</div>

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?](https://community.bloomreach.com/t/how-do-we-specify-environment-specific-dev-staging-prod-properties-in-bloomreach/859) 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?

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [May 24, 2023, 10:46am UTC](https://community.bloomreach.com/t/unable-to-read-values-from-property-files-v15/3929/2 "2023-05-24T10:46:15Z")

</div>

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

> **[Spring-Managed HST Components - Bloomreach Experience Manager...](https://xmdocumentation.bloomreach.com/library/concepts/web-application/spring-managed-hst-components.html)**
>
> The fast and flexible on-premise or PaaS headless CMS

---

<div class="post-metadata">

**Author:** ![Tarun\_Sujanani](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/tarun_sujanani/32/1514_2.png) [@Tarun\_Sujanani](https://community.bloomreach.com/u/Tarun_Sujanani)\
**Post date:** [July 5, 2023, 7:28am UTC](https://community.bloomreach.com/t/unable-to-read-values-from-property-files-v15/3929/3 "2023-07-05T07:28:24Z")

</div>

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
