Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
log4j用のspring、log4j、および構成ファイルがあります。構成ファイルをlog4jに渡し、春に初期化するにはどうすればよいですか? web.xml で初期化のアプローチを見てきましたが、サーブレット コンテナーがないため、うまくいきません。メインメソッドしかありません。