aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error:Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()