title: Not able to find messages with ResourceBundleMessageSource
body: <p>I am currently using the following code which is working correctly:</p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;
          &lt;property name="basenames"&gt;
              &lt;list&gt;
                  &lt;value&gt;/WEB-INF/resources/lang/lang&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
          &lt;property name="defaultEncoding" value="UTF-8"/&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>When I change ReloadableResourceBundleMessageSource to just ResourceBundleMessageSource it stops working.</p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"&gt;
      &lt;property name="basename" value="/WEB-INF/resources/lang/lang" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>I keep getting exceptions saying "No message found under code 'title' for locale 'en_US'." (title is an example)</p>
  
  <p>After reading similar questions, I have also tried changing the value of basename parameter to any of the following, without success:
      WEB-INF/resources/lang/lang
      .WEB-INF.resources.lang.lang<br>
      WEB-INF.resources.lang.lang<br>
      resources.lang.lang<br>
      lang.lang<br>
      lang<br>
      classpath:resources.lang.lang  </p>
  
  <p><a href="https://i.stack.imgur.com/RB2ik.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RB2ik.png" alt="enter image description here"></a>  </p>
  
  <p>Making a file called lang_en_US.properties didn't help either.</p>