Apache Struts 2 Documentation > Home > FAQs > Why is the application logging a warning that the Compound Root cannot find a particular Object with a particular property |

Apache Struts 2 Documentation
Why is the application logging a warning that the Compound Root cannot find a particular Object with a particular property
Edit Page Browse Space Add Page Add News
Added by tm_jee, last edited by Ted Husted on Jul 22, 2006 (view change)

Sometimes, there are elements used on an input form that the application does not need to capture. For example, buttons create input values, but you might be attaching Actions to the buttons, rather than utilizing the button press as input.

When `devMode` is on, the framework reports when there is an attribute in the request that is not being havested by an Action property. (In case you just forgot to create the property.)

- To eliminate the warning message, edit or create the `struts.properties` file and set `devMode` to false (off).

struts.properties

    struts.devMode = false