title: Spring - cannot resolve test class in beans.xml
body: <p>I'm quite new to Spring framework so this question may look dumb a bit</p>
  
  <p>I'm trying to create abstract class <code>Test.class</code> in <code>test.java</code> package and configure it with Spring <code>configuration.xml</code> file. This file is in <code>test.resources</code> package and looks like:</p>
  
  <pre><code>&lt;beans&gt;
  
      ... schema URLs ...
  
      &lt;bean abstract="true" id="test" class="Test" /&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>Inspection says:</p>
  
  <blockquote>
    <p><em>Cannot resolve class 'Test'</em></p>
  </blockquote>
  
  <p>Idea politely offers me to create <code>Test.class</code>. I agreed and it has been created in <code>main.java</code> package. But it's a bit messy. I do not want it to be there.</p>
  
  <p>Code of Test.class:</p>
  
  <pre><code>@RunWith(SpringJUnitClassRunner.class)
  @ContextConfiguration(locations = {"/configuration.xml"})
  public abstract class Test {
  
  abstract void test();
  
  }
  </code></pre>
  
  <p>What do I miss?</p>