[slf4j-dev] [Bug 122] Exception regarding SINGLETON object in slf4j 1.5.2 and 1.5.6

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Mar 3 16:04:01 CET 2009


http://bugzilla.slf4j.org/show_bug.cgi?id=122


Stephane <golgoth14 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |golgoth14 at gmail.com




--- Comment #4 from Stephane <golgoth14 at gmail.com>  2009-03-03 16:04:00 ---
Ciao Ceki,

I've the same problem with slf4j-spi-1.5.6 and slf4j-log4j12-1.5.6 :

Caused by: java.lang.IllegalAccessError: tried to access field
org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
        at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)
        at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:151)
        at
org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:107)
        at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:124)
        at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
        at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)

The member SINGLETON of StaticLoggerBinder is private but used by another class
(org.slf4j.LoggerFactory).

Meilleures salutations,
Stéphane


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list