У меня есть простой проект java (maven). Что создает банку, и мы выполняем основной метод. Но когда я бегу mvn clean test
на проекте я получаю строку журнала из log4j говоряПочему Log4j думает, что мой проект запущен в среде Servlet
INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
Файл log4j2.xml
в src/main/resources/log4j2.xml
.
Любые идеи, что происходит?
источник этой ошибки находится здесь https://logging.apache.org/log4j/2.0/log4j-core/apidocs/src-html/org/apache/logging/log4j/core/lookup/Interpolator.html –