title: maven spring test application contexts
body: <p>I want to use the applicationContext.xml in my src/main/resources directory from within my test harness in src/test/java.  How do I load it?  I have tried:</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations="classpath:applicationContext.xml")
  public class TestService {
  ...
  }
  </code></pre>
  
  <p>but get a file not found error.  I'm using Maven and Spring.  Thanks.</p>