码迷,mamicode.com
首页 > 移动开发 > 详细

消除Could not find property [struts.actionMapping]警告的方法

时间:2015-08-20 01:32:30      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:log4j

警告信息:

2015-8-19 23:43:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find property [struts.actionMapping]
2015-8-19 23:43:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find property [org.apache.catalina.jsp_file]
2015-8-19 23:43:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find property [struts.valueStack]
2015-8-19 23:43:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find property [templateDir]
2015-8-19 23:43:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find property [templateDir]
2015-8-19 23:43:57 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
警告: Could not find property [theme]

解决办法:

加入下面相应的jar包:

log4j-1.2.17.jar

此时再次运行时就不会再提示那么多的没用的信息了。

版权声明:本文为博主原创文章,未经博主允许不得转载。

消除Could not find property [struts.actionMapping]警告的方法

标签:log4j

原文地址:http://blog.csdn.net/zzy1078689276/article/details/47791937

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!