@RunWith(SpringJUnit4ClassRunner.class ) @ContextConfiguration (locations ={ "/applicationContext.xml","/spring/*.xml"} ) public class CustomersActionTestCase extends StrutsSpringJUnit4TestCase<CustomersAction> { .......... } 这里的StrutsSpringJUnit4TestCase 与StrutsSpringTestCase 什么关系? 我在继承时就提示我一个The hierarchy of the type CustomersActionTestCase is inconsistent, 这如何解决? 项目是maven .
@ContextConfiguration (locations ={ "/applicationContext.xml","/spring/*.xml"} )
public class CustomersActionTestCase extends StrutsSpringJUnit4TestCase<CustomersAction> {
..........
}
这里的StrutsSpringJUnit4TestCase 与StrutsSpringTestCase 什么关系?
我在继承时就提示我一个The hierarchy of the type CustomersActionTestCase is inconsistent, 这如何解决?
项目是maven .