'Issues with importing log4j into Java project in Intellij
I am working on a JavaFX application, and at the beginning of my class; App.java, I need to import the log4jclass to be able to log the App class in my code.
However, when I try to import org.apache.log4j.LogManager and org.apache.log4j.Logger, I'm persistently getting the error 'cannot resolve symbol log4j' in IntelliJ. I've looked at several other StackOverflow posts and even though I've installed the latest version of log4j and included its jar file in my project library, the problem's still coming up. I've also tried to add a log4j.properties file to make it work, but nothing's changed.
What could I go from here?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
