Menu

NoClassDefFoundError - ActionMessages

Anonymous
2002-12-06
2002-12-14
  • Anonymous

    Anonymous - 2002-12-06

    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?

     
    • Arne Clauß

      Arne Clauß - 2002-12-14

      Hello!

      I have got exactly the same error?

      Does anybody knows a solution?

      Regards,

      Arne

       
      • Arne Clauß

        Arne Clauß - 2002-12-14

        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

         

Log in to post a comment.