struts2 在发开时,控制台如输出大量警告信息,太烦人了,内容如下 :
16:51:44,170 WARN OgnlValueStack:45 - Could not find property [struts.valueStack]
16:51:44,184 WARN OgnlValueStack:45 - Could not find property [.freemarker.Request]
16:51:44,184 WARN OgnlValueStack:45 - Could not find property [.freemarker.RequestParameters]
16:51:44,293 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:51:44,293 WARN OgnlValueStack:45 - Could not find property [struts.valueStack]
16:51:44,359 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:51:44,360 WARN OgnlValueStack:45 - Could not find property [struts.valueStack]
16:51:44,666 WARN OgnlValueStack:45 - Could not find property [.freemarker.Request]
16:51:44,666 WARN OgnlValueStack:45 - Could not find property [.freemarker.RequestParameters]
16:51:47,126 WARN OgnlValueStack:45 - Could not find property [.freemarker.Request]
16:51:47,126 WARN OgnlValueStack:45 - Could not find property [.freemarker.RequestParameters]
16:51:47,294 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:51:52,157 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:52:54,751 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:52:54,752 WARN OgnlValueStack:45 - Could not find property [org.apache.catalina.jsp_file]
16:52:54,776 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:52:54,777 WARN OgnlValueStack:45 - Could not find property [org.apache.catalina.jsp_file]
16:52:54,873 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:52:54,941 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:53:02,120 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:53:02,121 WARN OgnlValueStack:45 - Could not find property [struts.valueStack]
16:53:02,135 WARN OgnlValueStack:45 - Could not find property [.freemarker.Request]
16:53:02,135 WARN OgnlValueStack:45 - Could not find property [.freemarker.RequestParameters]
16:53:02,331 WARN OgnlValueStack:45 - Could not find property [struts.actionMapping]
16:53:02,332 WARN OgnlValueStack:45 - Could not find property [struts.valueStack]
解决方法:
在log4j.properties 文件中加入:
log4j.logger.com.opensymphony.xwork2=ERROR
相关推荐
Error: EXDEV: cross-device link not permitted, rename ‘C:\Users\THEDIS~1\AppData\Local\Temp\upload_9b46f1afc2f9ade074037c3fb707d271’ -> ‘E:/node-rumen/tmp/test.png’ 文件上传的功能时候,调用fs....
赠送jar包:metrics-graphite-3.1.5.jar; 赠送原API文档:metrics-graphite-3.1.5-javadoc.jar; 赠送源代码:metrics-graphite-3.1.5-sources.jar; 赠送Maven依赖信息文件:metrics-graphite-3.1.5.pom;...
本文总结了FANUC机器人JOG模式中常见的警告代码,包括WARN:JOG-001到JOG-034共34种警告代码,每种警告代码的含义、原因和处理方法都进行了详细的解释。 警告代码WARN:JOG-001表示机械手处在超行程状态,处理方法...
3 is no longer maintained and not recommended for usage Administrator@GuoXinYu MINGW64 /d $ npm install -g vuepress npm WARN deprecated core-js@2.6.11: core-js@ D:\nodejs\npm-global\node_modules\vue...
- "Someone must warn him of the difficulties." (必须有人提醒他有这些困难。) 2. **后接 from 的动词** - `borrow from`:从...借来 - `defend from/against`:保护...免受... - `demand from/of`:向......
[Vue warn]: Hydration node mismatch: - Client vnode: animateTransform - Server rendered DOM: at <Home xss=removed> ref=Ref< undefined> > at at 兴趣点 /src/pages/Home.vue 。 其余文件无关紧要...
Commons Logging通过提供一套简单的API,使得开发者可以调用通用的日志方法,如`LogFactory.getLog(Class<?> clazz)`来获取一个`Log`实例,然后通过这个实例进行不同级别的日志输出,如`debug()`, `info()`, `warn()...
util.Shell (Shell.java:(694)) - Did not find winutils.exe: {} java.io.FileNotFoundException: Could not locate Hadoop executable: E:\hadoop-3.0.2\bin\winutils.exe -see ...
如果出现如下bug:“Could not locate executable null\bin\winutils.exe in the Hadoop binaries”,则下载该文件,放入hadoop的bin文件夹下,并设置环境变量HADOOP_HOME:F:\hadoop2.7.x即可。
info.log文件名称: business-provider_warn.log文件名称: log.zip报错日志信息,便于学习:两个事物的异常信息!demo.service.AbstractNewsConsumer :资讯消费异常: org.springframework.beans.factory....
- `warn`:警告。 - `remind`:提醒。 - `discuss`:讨论。 - `debate`:辩论。 - `figure`:指出。 - `declare`:宣布。 - `claim`:自称。 - `mention`:提及。 - `admit`:承认。 - `deny`:否认。 - `describe`...
- warn:警告,提醒 - break:打破,破坏 - fight:打架,战斗 - work:工作,运行 - have:有,拥有 - own:拥有,所有 - appear:出现,显现 - remain:保持,剩余 - need:需要,必要 - require:需要...
- `PASS_WARN_AGE`: 14 - **账户锁定策略**: - 在`/etc/pam.d/sshd`中配置: - `Auth required pam_tally2.so deny=5 unlock_time=300` ###### 3.2.2 安全审计策略 - **日志配置**: - 新建syslog日志服务器...
主要介绍了kafka调试中遇到Connection to node -1 could not be established. Broker may not be available的解决方法,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧
2. **使用API**:讲解如何在代码中通过commons-logging接口来调用log4j的记录方法,如`Logger.getLogger()`获取logger实例,以及`debug()`, `info()`, `warn()`, `error()`等不同级别的日志记录方法。 3. **日志...
35. Warn sb not to do sth - 警告某人不要做某事 36. In a short while - 不久之后 37. No smoking - 禁止吸烟 38. No parking - 禁止停车 39. No littering - 禁止乱扔垃圾 40. No photography - 禁止照相 41. ...
##### 2.15 控制警告:`-W`, `--warn`, `--no-warn`, `--fatal-warnings` - `-W`:启用默认警告。 - `--warn`:启用所有警告。 - `--no-warn`:禁用所有警告。 - `--fatal-warnings`:将所有警告视为错误。 ##### ...
而针对Windows用户,开发和运行Hadoop应用时会遇到一个常见问题:“Did not find winutils.exe: java.io.FileNotFoundException”。这个错误是由于Hadoop在Windows环境下找不到`winutils.exe`文件所引起的。`...
SQLKD_NO_BUF_WARN** - **内部返回码**:0x0258000C - **十进制表示**:39321612 - **SQL代码**(如果适用):-902 - **描述**:表示BDS无缓冲警告。可能是由于缓冲池资源不足导致的。 **6. SQLO_NOT_FOUND** - ...