This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Error:Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Error:Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()" Watch "Error:Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()" New topic
Author

Error:Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()

srinivas Doni
Greenhorn

Joined: Jun 02, 2011
Posts: 23
Hi to all,

I am getting following exception while establishing connection to hibernate.
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z.

I am using Eclipse3.6 and database is mysql 5.0. with following jars

--ant nlr 3.0jar
--commons-collection 3.1 jar
--slf4j-api-1.3.1.jar
-- slf4j-jdk-1.3.1.jar
-- hibernate-core.jar
-- mysql-connector-bin-5.0.8.jar
-- javassit 3.3 ga.jar
-- dom4j-full.jar


help me to reslove this error, if anyone is familar with this error

with regards,
srini



Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

This is probably a library incompatibility. You probably need to upgrade your slf4j api.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
 
subject: Error:Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()
 
Similar Threads
Error:java.lang.NoClassDefFoundError: javax/persistence/EntityList
Java Security Exception
plzzz help out
Exception in thread "main" java.lang.NoSuchMethodError: main
Hibernate+GWT problem related to slf4j