Struts2.5-add log4j-core to the classpath
来源:互联网 发布:上海火速网络 编辑:程序博客网 时间:2024/06/13 02:37
信息: No Spring WebApplicationInitializer types detected on classpath
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
ERROR Dispatcher Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/D:/workspace-jee/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/02_Struts2_Extension/WEB-INF/lib/struts2-gxp-plugin-2.5.5.jar!/struts-plugin.xml:8:162
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
ERROR Dispatcher Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/D:/workspace-jee/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/02_Struts2_Extension/WEB-INF/lib/struts2-gxp-plugin-2.5.5.jar!/struts-plugin.xml:8:162
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:906)
错误StatusLogger Log4j2找不到一个日志的实现。请将log4j-core添加到类路径中。使用SimpleLogger控制台日志…
错误调度程序调度程序初始化失败
无法加载配置。- bean jar文件:/
1:去官方下载:
http://www.apache.org/dyn/closer.lua/logging/log4j/2.7/apache-log4j-2.7-bin.zip
2.在下载的struts-2.5.5的文件中的示例下:
C:\Users\lzhpc\Desktop\Struts2.5.5\struts-2.5.5-all\struts-2.5.5\apps\struts2-rest-showcase\WEB-INF\lib
将“log4j-core-2.7.jar”复制到项目的lib下即可。
0 0
- Struts2.5-add log4j-core to the classpath
- Add Junit to Ant classpath
- Spring boot 报Add an implement,such as Hibernate Validator, to the classpath
- Unable to add the follwing facets to project: Axis2 Web Services Extensions, Axis Web Services Core.
- Unable to add the follwing facets to project testAxis2: Axis2 Web Services Core, Axis2 Web Services
- The Eclipse JDT Core jar is not in the classpath
- Add the module to kerenl
- How to Add Core Data to an existing Utility Application
- Add new application to the main menu
- 492. Construct the Rectangle Add to List
- Add Code to caculate the Scanner Performance
- Drools执行报错 The Eclipse JDT Core jar is not in the classpath .
- | Error Error initializing classpath: Unable to start the daemon process.
- how to control the log4j output
- weka Trying to add database driver (JDBC): jdbc.idbDriver - Error, not in CLASSPATH?
- How to add new item to the Context Menu
- How to add a user to the sudoers list
- How To Add Menus to the Menubar in Cocoa
- Leetcode 152. Maximum Product Subarray
- PHP--预定义超全局变量
- Struts2.5 ERROR StatusLogger No log4j2 configuration file found. Using default configurati
- PHP---防止注入攻击
- 【30.36%】【codeforces 740D】Alyona and a tree
- Struts2.5-add log4j-core to the classpath
- PHP--model1模式、分层模式、mvc模式:
- 早上好
- Maven的继承和聚合
- Generative adversarial nets 论文笔记
- 类和对象的区别
- BUCK电路分析
- EMD分析 Matlab 精华总结 附开源工具箱(全)
- 洛谷【P1063】能量项链