java.lang.ExceptionInInitializerError

Exception #2625490

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.ExceptionInInitializerError at AmigoDAO.<init>(AmigoDAO.java:14) at TesteAmigo.main(TesteAmigo.java:10) Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoSuc hFieldError: level (Caused by java.lang.NoSuchFieldError: level) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory Impl.java:53 at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:116) ... 2 more Caused by: java.lang.NoSuchFieldError: level at org.apache.log4j.spi.RootLogger.setLevel(RootLogger.java:65) at org.apache.log4j.spi.RootLogger.<init>(RootLogger.java:44)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one