title: ResourceBundle not found for MessageSource
body: <p>I'm not able to locate the message source in my app. I have set the following configuration</p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"&gt;
      &lt;property name="basenames"&gt;
          &lt;list&gt;&lt;value&gt;resources.dev&lt;/value&gt;&lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>There will be more .properties files that will be added.</p>
  
  <p>The dev.properties file is located at <code>ROOT/resources/dev.properties</code> where ROOT is the webapp</p>
  
  <p>The dev.properties has to be in <code>ROOT/resources/dev.properties</code></p>
  
  <p>dev.properties contains</p>
  
  <pre><code>test.url="external.url.com"
  </code></pre>
  
  <p>In my controller I'm trying to access the message as</p>
  
  <pre><code>messageSource.getMessage("test.url", new Object[]{}, Locale.getDefault())
  </code></pre>
  
  <p>I'm getting the following exception</p>
  
  <pre><code>org.springframework.context.NoSuchMessageException: No message found under code 'test.url' for locale 'en_US'.
  </code></pre>