發(fā)布時出現(xiàn)錯誤log4j2找不到,但是已經(jīng)添加了log4j的jar包,請問是什么原因?
錯誤信息:ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
錯誤信息:ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
2016-05-22
舉報
2018-06-15
同求,已經(jīng)在WEB-INF/lib下引入了log4j-core-2.11.0.jar;依然報錯:ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2016-06-05
找一個高版本的log4j2添加到web-INF下的lib里邊,因為tomcat一開始運行的就是web-INF里邊的東西
2016-05-23
如果maven,--library添加或手動添加到lib