[slf4j-user] Problem with SLF4J and Android
Ceki Gulcu
ceki at qos.ch
Thu Jul 2 18:47:03 CEST 2009
Hello Max,
Which version of slf4j-api is on your class path?
"I'm using slf4j-jdk14-1.5.8.jar and slf4j-jdk14-1.5.8.jar" is not very clear.
See also
http://slf4j.org/faq.html#compatibility
http://slf4j.org/faq.html#IllegalAccessError
http://slf4j.org/manual.html
BR
Max Braun wrote:
> Hi,
>
> I'm trying to get Sesame to run on Android. There seems to be a problem
> with SLF4J, which is used by Sesame, resulting in the following error:
>
> E/ActivityThread( 724): Failed to find provider info for com.google.settings
> I/dalvikvm( 724): DexOpt: access denied from Lorg/slf4j/LoggerFactory;
> to field Lorg/slf4j/impl/StaticLoggerBinder;.SINGLETON
> W/dalvikvm( 724): VFY: unable to resolve static field 3716 (SINGLETON)
> in Lorg/slf4j/impl/StaticLoggerBinder;
> W/dalvikvm( 724): VFY: rejecting opcode 0x62 at 0x0006
> W/dalvikvm( 724): VFY: rejected Lorg/slf4j/LoggerFactory;.getSingleton
> ()Lorg/slf4j/impl/StaticLoggerBinder;
> W/dalvikvm( 724): Verifier rejected class Lorg/slf4j/LoggerFactory;
>
> I hope someone here can help me with this.
>
> I'm using slf4j-jdk14-1.5.8.jar and slf4j-jdk14-1.5.8.jar. My initial
> question in the Sesame forum can be found
> here: http://www.openrdf.org/forum/mvnforum/viewthread?thread=2145
>
> Thanks,
> Max
>
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the slf4j-user
mailing list