Java ecommerce reports an error at run time

log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.StandardServletEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log. for more info.

the one who reported an error is a warning. First, I would like to ask how to solve this problem. Second, if I want to have this kind of problem and report an error, how to search for Baidu? who will tell me that the newcomer will not check for errors?

Mar.12,2021

is generally about the problem of log jar package and the configuration and location of properties. Baidu directly copy and search and try someone else's solution


the first problem: just establish the configuration file of LOG4J.
second question: check one of the warnings
for example: log4j:WARN Please initialize the log4j system properly.
suggest: try to translate it yourself, and look up more words you can't find

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf7ac0-32089.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf7ac0-32089.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?