java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory

csdn.net | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    hibernate简单小程序中报 java.lang.IllegalAccessError错误-CSDN问答

    csdn.net | 8 months ago
    java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory

      at org.slf4j.LoggerFactory.<init>()
    2. SLF4J API Module
      LoggerFactory.<init>
      1. org.slf4j.LoggerFactory.<init>(LoggerFactory.java:60)
      1 frame
    3. Hibernate
      Configuration.<init>
      1. org.hibernate.cfg.Configuration.<init>(Configuration.java:151)
      1 frame
    4. com.lsh.util
      HibernateSession.<init>
      1. com.lsh.util.HibernateSession.<init>(HibernateSession.java:13)
      1 frame
    5. com.lsh.view
      Testmain.main
      1. com.lsh.view.Testmain.main(Testmain.java:13)
      1 frame