Fixed log4j class not found error; Updated log4j version
This commit is contained in:
parent
47e8ec4f43
commit
f132861cbc
4
pom.xml
4
pom.xml
@ -55,12 +55,12 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-api</artifactId>
|
||||
<version>2.17.2</version>
|
||||
<version>2.19.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.17.2</version>
|
||||
<version>2.19.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
@ -4,6 +4,6 @@ import org.apache.logging.log4j.LogManager;
|
||||
|
||||
public class Logger {
|
||||
|
||||
public static org.apache.logging.log4j.Logger logger = LogManager.getLogger();
|
||||
public static org.apache.logging.log4j.Logger logger = LogManager.getRootLogger();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user