-
- Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
it looks like it is trying to create e new instance based on this property. I guess it would be better to loop over the providers and check if there is a matching instance.
SLF4J(I): Attempting to load provider "org.slf4j.simple.SimpleServiceProvider" specified via "slf4j.provider" system property SLF4J(E): Failed to instantiate the specified SLF4JServiceProvider (org.slf4j.simple.SimpleServiceProvider) SLF4J(E): Reported exception: java.lang.IllegalAccessException: class org.slf4j.LoggerFactory (in module org.slf4j) cannot access class org.slf4j.simple.SimpleServiceProvider (in module org.slf4j.simple) because module org.slf4j.simple does not export org.slf4j.simple to module org.slf4j at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:394) at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:714) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:495) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486) at org.slf4j@2.0.10/org.slf4j.LoggerFactory.loadExplicitlySpecified(LoggerFactory.java:225)
Metadata
Metadata
Assignees
Labels
No labels