title: namespace '/'No Scope registered for scope 'request' in JUNIT
body: <p>I am writing Unit Tests for Struts Action classes integrated with Spring.</p>
  
  <p><strong>Struts.xml</strong></p>
  
  <pre><code>&lt;action name = "displaySearchCertiSchedulerAction" 
         class = "certificationSchedulerAction" 
        method = "displaySearchCertiScheduler"&gt;
  
      &lt;result name = "success"&gt;/jsp/admin/SearchCertiScheduler.jsp&lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p><strong>applicationContext.xml</strong></p>
  
  <pre><code>&lt;bean name = "certificationSchedulerAction"
       class = "com.admin.action.CertificationSchedulerAction"
       scope = "request"&gt;
  
      &lt;property name = "certificationSchedulerServices" 
                 ref = "certificationSchedulerServices" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p><strong>JUnit</strong></p>
  
  <pre><code>@SuppressWarnings("rawtypes")
  @RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations={"classpath:applicationContext.xml"})
  public class BrokerActionTest extends StrutsSpringJUnit4TestCase {
  
      @Test
      public void testGetActionProxy() throws Exception {
          ActionProxy proxy   =  getActionProxy("/getEventCategoryAction");
          CertificationSchedulerAction schedulerAction = 
                                  (CertificationSchedulerAction) proxy.getAction();
  
          assertNotNull(proxy);            
       }
  }
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>Tests in error: testGetActionProxy(com.admin.action.BrokerActionTest):
    Unable to instantiate Action, certificationSchedulerAction,  defined
    for 'getEventCategoryAction' in namespace '/' 
    No Scope registered for scope 'request'</p>
  </blockquote>
  
  <p>This works fine if I don't explicitly specify the scope, but it gives error if I specify the scope.</p>