想利用jUnit测试struts中的action,struts-2.0.14,但是继承了StrutsSpringTestCase类之后,不能调用getActionProxy方法,请问是什么原因。有截图。
getActionProxy是StrutsSpringTestCase的父类org.apache.struts2.StrutsTestCase中的一个方法,你用super.getActionProxy(uri)试试。或者直接getActionProxy(uri)试试看能够编译通过。