The project is using the Struts 2.3.15.3 version, which is useful in the project to Struts2-json-plugin-2.3.15.3.jar this jar package. When the log4j log level is set to error, there is no problem. When the log level is tuned to debug, Java.lang.NoSuchFieldException:DEFAULT_PARAM will appear ..... But the project will still work.
But I can be sure that my project configuration is correct. Later Baidu a bit, originally this is this version of a bug problem, in Org.apache.struts2.json.JSONResult this class is not the Default_param attribute.
Interested can open the source code to see, I understand, in fact, this abnormal information does not affect the use. If you want to remove this exception information, you can find the source code, copy it, create the same class in the project itself, the path and class name to the same, and then add public static final String Default_param = "Status" In the class, this property is OK.
Later on to the Struts official web site, the latest version of the STRUTS2 is 2.3.16. Decisively downloaded down, introduced into the project, without this exception, it seems that the new version has solved the problem.
Java.lang.NoSuchFieldException:DEFAULT_PARAM