Warum log4j denkt, mein Projekt läuft in der Servlet -Umgebung

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Warum log4j denkt, mein Projekt läuft in der Servlet -Umgebung

by Anonymous » 03 Apr 2025, 02:08

Ich habe ein einfaches Java -Projekt (Maven). Das baut ein Glas auf und wir führen die Hauptmethode darauf aus. Aber wenn ich MVN Clean Test < /code> im Projekt ausführe

Code: Select all

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.
Die Datei log4j2.xml befindet sich in Src/Main/Ressourcen/log4j2.xml .>

Top