One of our developers is getting this error when running Gradle. Anyone
know what to look for? Might it be because a different version of the slf4j
jar is (somehow!) on the classpath?
Exception in thread "main" java.lang.IllegalAccessError: tried to access
field org.slf4j.impl.StaticLoggerBinder.SINGLET
ON from class org.slf4j.LoggerFactory
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at org.gradle.api.logging.Logging.getLogger(Logging.java:46)
at org.gradle.launcher.Main.<clinit>(Main.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gradle.launcher.GradleMain.main(GradleMain.java:49)
Exception in thread "main" java.lang.IllegalAccessError: tried to access
field org.slf4j.impl.StaticLoggerBinder.SINGLET
ON from class org.slf4j.LoggerFactory
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
at org.gradle.api.logging.Logging.getLogger(Logging.java:46)
at org.gradle.launcher.Main.<clinit>(Main.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gradle.launcher.GradleMain.main(GradleMain.java:49)
--
John Murph
Automated Logic Research Team