You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrading from tinylog 2.5.0 to 2.6.0 calling org.slf4j.LoggerFactory.getLogger("test") causes the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/spi/LoggingEventAware
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.tinylog.slf4j.TinylogLoggerFactory.getLogger(TinylogLoggerFactory.java:37)
at org.tinylog.slf4j.TinylogLoggerFactory.getLogger(TinylogLoggerFactory.java:24)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363)
at org.example.Main.main(Main.java:8)
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggingEventAware
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 16 more
To Reproduce
Steps to reproduce the behavior:
Create a new maven project with the following files: pom.xml:
Describe the bug
After upgrading from tinylog 2.5.0 to 2.6.0 calling
org.slf4j.LoggerFactory.getLogger("test")
causes the following exception:To Reproduce
Steps to reproduce the behavior:
pom.xml
:src/main/java/org/example/Main.java
:tinylog.version
from2.5.0
to2.6.0
inpom.xml
.NoClassDefFoundError
.Environment
tinylog version: 2.6.0
Java version: 1.8.0_362
The text was updated successfully, but these errors were encountered: