junit.framework.AssertionFailedError: was expecting no error messages, but received: "errors.required" "errors.required"

AppFuse JIRA | Tomas Barrios | 1 decade ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    was expecting no error messages, but received: "errors.required" "errors.required"

    at servletunit.struts.Common.verifyNoActionMessages()
  2. servletunit.struts
    1. servletunit.struts.Common.verifyNoActionMessages(Common.java:69)
    2. servletunit.struts.MockStrutsTestCase.verifyNoActionErrors(MockStrutsTestCase.java:813)
    2 frames
  3. mobilemedia.webapp.action
    1. mobilemedia.webapp.action.TownActionTest.testAdd(TownActionTest.java:23)
    1 frame