title: cannot resolve spring message code using messageSource
body: <p>I am trying to hook up a messageSource in spring to use for my application. Its not working, gives this error:</p>
  
  <blockquote>
    <p>org.springframework.context.NoSuchMessageException: No message found under code 'validation_required' for locale 'en'.</p>
  </blockquote>
  
  <p>my <strong>applicationContext.xml</strong> contains this def for messageSource:</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;classpath:messages&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>my messages properties file lives in:</p>
  
  <pre><code>/WEB-INF/classes/messages/messages_en_US.properties
  </code></pre>
  
  <p>Finally, the call i made that generates the error is:</p>
  
  <pre><code>String message = messageSource.getMessage("validation_required", null, Locale.ENGLISH);
  </code></pre>
  
  <p>Can anyone help me at this hour?</p>