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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via QOS.ch JIRA by xuen, 1 year ago
org.apache.log4j.Logger.isTraceEnabled()Z
via QOS.ch JIRA by xuen, 1 year ago
org.apache.log4j.Logger.isTraceEnabled()Z
via Google Groups by Unknown author, 3 months ago
org.apache.log4j.Logger: method isTraceEnabled()Z not found
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
at org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81)
at org.hibernate.type.NullableType.(NullableType.java:28)
at org.hibernate.Hibernate.(Hibernate.java:76)
at org.hibernate.type.TypeFactory.(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.(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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.