# MissingResourceException, Unable to find Property

**URL:** <https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742>\
**Category:** Module Development\
**Created:** [July 5, 2018, 8:16pm UTC](https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742 "2018-07-05T20:16:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam.Martin](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Adam.Martin](https://forum.inductiveautomation.com/u/Adam.Martin)\
**Post date:** [July 5, 2018, 8:16pm UTC](https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742/1 "2018-07-05T20:16:57Z")

</div>

Hello,

I am having trouble implementing my .properties file.

I have thus far successfully been able to add the bundle to my GatewayHook, and the gateway shows my config panel on the side bar. However, when I click it, I get the following error in the gateway logs:

```auto
Caused by: java.util.MissingResourceException: Unable to find property: 'Teams.PageTitle' for component: config-contents:main-title [class=com.inductiveautomation.ignition.gateway.web.components.ConfigPanel$2]. Locale: null, style: null

at org.apache.wicket.Localizer.getString(Localizer.java:237)

```

I am sure I am incorrectly configuring the .properties file in some way, but I have tried several different solutions (moving the file to the same directory as the GatewayHook, placing it in a ‘resources’ directory that mirrors the ‘java’ directory structure)

Some of my code for reference:

```auto
BundleUtil.get().addBundle("Teams", getClass(), "Teams");

```

```auto
@Override
protected String getTitleKey() {
    return "Teams.PageTitle";
}

```

Any help is greatly appreciated

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 7, 2018, 2:16pm UTC](https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742/2 "2018-07-07T14:16:10Z")

</div>

Have you verified that the properties file ends up in your built module?

Is the key in the properties file just `PageTitle`?

---

<div class="post-metadata">

**Author:** ![Adam.Martin](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Adam.Martin](https://forum.inductiveautomation.com/u/Adam.Martin)\
**Post date:** [July 9, 2018, 12:26pm UTC](https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742/3 "2018-07-09T12:26:31Z")

</div>

Thank you for your reply!

Here are entries from my properties file:

```auto
MenuTitle=test
PageTitle=test
Noun=Node-test
NounPlural=test
APITokensMenuTitle=test
APITokensNoRows=test
APITokenName=test

```

Interestingly, the gateway shows the MenuTitle and APITokenName in the sidebar, which tells me my properties file is loaded and being read. But as you can see from the above error, when I click the config panel, it cannot read other values.
