我正在开发 struts 1.x 应用程序,需要在其中实现 junit 4 测试用例。我有 struts2-junit-plugin jar 用于使用 StutsTestCase 为 Action 类创建测试用例。这可能吗 ?使用 struts2-junit jars 的 Struts 1.x 应用程序。当我尝试运行测试用例时,它给出错误 - InitializationError 当我检查失败跟踪时 - 它显示 java.lang.noclassdeffounderror org/springframework/core/io/resourceloader
任何人都可以帮我解决问题。是使用 junit jar 版本还是在 struts 1 应用程序中使用 struts2 jar。或者我需要添加更多内容或任何其他错误。请帮忙
提前致谢