Re: [D] [ERROR] class file for org.apache.logging .log4j.Logger not found [logging-log4j2]

vy (via GitHub) <[email protected]> Sat, 28 Feb 2026 19:42:40 -0000
Newsgroups gmane.comp.jakarta.log4j.devel
Message-ID <ghd-D_kwDOAKJSSM4Aj8rl-410ea9a1-7f07-4126-873c-ad2b1ff08fcb__48237.3744527408$1772307776$gmane$org@gitbox.apache.org>
GitHub user vy added a comment to the discussion: [ERROR]   class file for org.apache.logging.log4j.Logger not found

@DennisYudin, AFAICT, your library (i.e., `LogHelper`) explicitly refers to Log4j API dependencies, and hence, `log4j-api` should be a `compile` dependency, not `provided`.

Unless you already did, you might want to check [Installation] and [Integrating with Jakarta EE] pages.

[Installation]: https://logging.apache.org/log4j/2.x/manual/installation.html
[Integrating with Jakarta EE]: https://logging.apache.org/log4j/2.x/jakarta.html

GitHub link: https://github.com/apache/logging-log4j2/discussions/4046#discussioncomment-15957073

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]