gwt - java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
gwt - java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
i facing error while running gwt application.
i have these jar files in classpath: slf4j-api
& slf4j-log4j12
any thought reason?
this problem due alter in slf4j-log4j12 jar. version 1.5.6 doesn't allow access field org.slf4j.impl.staticloggerbinder.singleton.
to resolve it, utilize newest jars (or @ to the lowest degree version 1.5.6 onward) both slf4j-api & slf4j-log4j12.
<dependency> <groupid>org.slf4j</groupid> <artifactid>slf4j-api</artifactid> <version>1.5.6</version> </dependency> <dependency> <groupid>org.slf4j</groupid> <artifactid>slf4j-log4j12</artifactid> <version>1.5.6</version> </dependency>
java gwt
Comments
Post a Comment