java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z

Oracle Community | SandyMx | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Publish messages from OSB to ActiveMQ

    Oracle Community | 1 year ago | SandyMx
    java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
  2. 0

    I'm doing some web application which using displatag taglib which is depends on slf4j lib. The problem is when i startup my application, it failed and shows the following error : [2007/11/30 12:25:41] C:\dev\workspace\CheltenhamWeb\src\webapp\WEB-INF\web.xml:52: java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z at org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81) at org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled(SLF4JLocationAwareLog.java:61) at org.hibernate.type.NullableType.<clinit>(NullableType.java:28) at org.hibernate.Hibernate.<clinit>(Hibernate.java:76) at org.hibernate.type.TypeFactory.<clinit>(TypeFactory.java:46) at org.hibernate.mapping.ManyToOne.getType(ManyToOne.java:22) at org.hibernate.mapping.ManyToOne.createForeignKey(ManyToOne.java:32) at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:1782) at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1751) at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:317) at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235) at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151) at org.hibernate.cfg.Configuration.add(Configuration.java:360) at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397) at org.hibernate.cfg.Configuration.addResource(Configuration.java:446) at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1313) at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1285) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234) at org.hibernate.cfg.Configuration.configure(Configuration.java:1162) at com.vcint.persistence.hibernate.HibernateSessionFactory.buildNConfigure(HibernateSessionFactory.java:116) at com.vcint.persistence.hibernate.HibernateSessionFactory.<init>(HibernateSessionFactory.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at com.vcint.persistence.hibernate.HibernateFactory.instantiateClass(HibernateFactory.java:40) at com.vcint.commons.locator.ResourceBinder.bindLocator(ResourceBinder.java:42) at com.vcint.persistence.hibernate.HibernateFactory.getHibernateManager(HibernateFactory.java:29) at com.vcint.persistance.HibernateInitialiser.init(HibernateInitialiser.java:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.caucho.util.BeanUtil.configure(BeanUtil.java:401) at com.caucho.util.BeanUtil.createBean(BeanUtil.java:153) ... is that something to do with the slf4j library??

    QOS.ch JIRA | 9 years ago | xuen
    java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
  3. 0

    I'm doing some web application which using displatag taglib which is depends on slf4j lib. The problem is when i startup my application, it failed and shows the following error : [2007/11/30 12:25:41] C:\dev\workspace\CheltenhamWeb\src\webapp\WEB-INF\web.xml:52: java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z at org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81) at org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled(SLF4JLocationAwareLog.java:61) at org.hibernate.type.NullableType.<clinit>(NullableType.java:28) at org.hibernate.Hibernate.<clinit>(Hibernate.java:76) at org.hibernate.type.TypeFactory.<clinit>(TypeFactory.java:46) at org.hibernate.mapping.ManyToOne.getType(ManyToOne.java:22) at org.hibernate.mapping.ManyToOne.createForeignKey(ManyToOne.java:32) at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:1782) at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1751) at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:317) at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235) at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151) at org.hibernate.cfg.Configuration.add(Configuration.java:360) at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397) at org.hibernate.cfg.Configuration.addResource(Configuration.java:446) at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1313) at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1285) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234) at org.hibernate.cfg.Configuration.configure(Configuration.java:1162) at com.vcint.persistence.hibernate.HibernateSessionFactory.buildNConfigure(HibernateSessionFactory.java:116) at com.vcint.persistence.hibernate.HibernateSessionFactory.<init>(HibernateSessionFactory.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at com.vcint.persistence.hibernate.HibernateFactory.instantiateClass(HibernateFactory.java:40) at com.vcint.commons.locator.ResourceBinder.bindLocator(ResourceBinder.java:42) at com.vcint.persistence.hibernate.HibernateFactory.getHibernateManager(HibernateFactory.java:29) at com.vcint.persistance.HibernateInitialiser.init(HibernateInitialiser.java:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.caucho.util.BeanUtil.configure(BeanUtil.java:401) at com.caucho.util.BeanUtil.createBean(BeanUtil.java:153) ... is that something to do with the slf4j library??

    QOS.ch JIRA | 9 years ago | xuen
    java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    nested exception is java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z - helloword的日志 - 网易博客

    163.com | 3 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\tomcat_others\webapps\myoa\WEB-INF\classes\applicationContext-common.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.log4j.Logger.isTraceEnabled()Z

      at org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled()
    2. SLF4J LOG4J-12 Binding
      Log4jLoggerAdapter.isTraceEnabled
      1. org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81)
      1 frame
    3. ActiveMQ :: Core
      JNDIBaseStorable.getReference
      1. org.apache.activemq.jndi.JNDIReferenceFactory.createReference(JNDIReferenceFactory.java:93)
      2. org.apache.activemq.jndi.JNDIBaseStorable.getReference(JNDIBaseStorable.java:83)
      2 frames
    4. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:292)
      1 frame
    5. weblogic.jndi.internal
      WLEventContextImpl.lookup
      1. weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:255)
      1 frame