[ERROR] class file for org.apache.logging.log4j.Logger not found #4046
Unanswered
DennisYudin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there i've got some troubles with log4j2 and I hope someone will help me.
Here's a thing.
I've got a small multi-module jakartaEE project and I'm getting Compilation failure which says:
This happends when I try to compile one of my module.
The Idea is simple I've got a log4j2 wrapper in one module which looks like this:
I added module with logging as dependecy to another module where I wanna use it
and after that Im trying to use it
and when I run
mvn clean compilecommand Im getting Compilation failure.When I add to the pom of my second module log4j-api dependency, problem is gone.
But when I run
mvn dependency:analyzeI can see the message:I think is not OK.
[Project repo: ]https://github.com/DennisYudin/simple-ear-jakartaee10
I would appreciate for any help!
Beta Was this translation helpful? Give feedback.
All reactions