I am trying to unit test an Action class using StrutsTestCase, I am using Struts 1.0 and every time I try to implement a test I run it and get a NoClassDefFoundError about org.apache.struts.action.ActionMessages.
I have downloaded the strutstest19-1.0_2.3.zip file, which is correct for my environment, so I am bit confused because ActionMessages was introduced to the org.apache.struts.action package only in version 1.1.
Can anyone shed any light on my situation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The StrutsTestCase library is available as four
distinct releases supporting both the 2.2 and 2.3
versions of the Servlet specification, and both the
1.0.x and 1.1 versions of the Struts Framework.
Just try the strutstest19-1.0_2.*.zip file.
Regards,
Arne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to unit test an Action class using StrutsTestCase, I am using Struts 1.0 and every time I try to implement a test I run it and get a NoClassDefFoundError about org.apache.struts.action.ActionMessages.
I have downloaded the strutstest19-1.0_2.3.zip file, which is correct for my environment, so I am bit confused because ActionMessages was introduced to the org.apache.struts.action package only in version 1.1.
Can anyone shed any light on my situation?
Hello!
I have got exactly the same error?
Does anybody knows a solution?
Regards,
Arne
Hello!
I think I have got the solution!
The StrutsTestCase library is available as four
distinct releases supporting both the 2.2 and 2.3
versions of the Servlet specification, and both the
1.0.x and 1.1 versions of the Struts Framework.
Just try the strutstest19-1.0_2.*.zip file.
Regards,
Arne