WARN - Could not find property [struts.valueStack] struts2解决方法

Missing Properties
This message states that the framework searched for a property in the value stack and failed to find it.

2008-04-19 14:21:08,177 WARN [http-8443-Processor25] [OgnlValueStack] Could not find property [templateDir]
2008-04-19 14:21:08,177 WARN [http-8443-Processor25] [OgnlValueStack] Could not find property [templateDir]
2008-04-19 14:21:08,177 WARN [http-8443-Processor25] [OgnlValueStack] Could not find property [templateDir]
2008-04-19 14:21:08,178 WARN [http-8443-Processor25] [OgnlValueStack] Could not find property [org.apache.catalina.jsp_file]To hide these messages, turn off the WARN level logging for OgnlValueStack.

eg. Include a new limit category in your log4j.xml file (only log errors or worse):

<category name="com.opensymphony.xwork2.ognl.OgnlValueStack">
<priority value="error"/>
</category>

or

少了log4j配置文件,下个log4j-1.2.15.jar包放到lib下。

你可能感兴趣的:(apache,log4j,xml,jsp,struts)