title: Couldn't get resource paths for class path resource
body: <p>all, I am puzzled about the struts2 action unit test</p>
  
  <pre><code>import org.apache.struts2.StrutsSpringTestCase;
  import org.junit.Test;
  import com.opensymphony.xwork2.ActionProxy;
  
  public class TestLoginAction extends StrutsSpringTestCase {
      @Test
      public void testCheck() throws Exception {
          ActionProxy proxy = null;
          LoginAction test = null;
  
          request.setParameter("username", "admin");
          proxy = getActionProxy("/checkLogin");
          test = (LoginAction) proxy.getAction();
  
          String result = proxy.execute();
  
          assertEquals("error", result);
          assertEquals("admin", test.getUsername());
  
      }
  }
  </code></pre>
  
  <p>It throw the warnings and exceptions:</p>
  
  <blockquote>
    <p>Couldn't get resource paths for class path resource [WEB-INF/jsp/]
        java.io.FileNotFoundException: class path resource [WEB-INF/jsp/] cannot be resolved to URL because it does not exist</p>
  </blockquote>