Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

hibernate project error

  Asked By: Cory    Date: May 13    Category: Java    Views: 817
  

i have problem
I get this error in my hibernate project :

org.apache.jasper.JasperException: org.slf4j.Logger.isTraceEnabled()Z

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Damon Jones     Answered On: May 13

I think that the version of the projects which you use are not compatible!
For example may be you are using hibernate  version A. Hibernate version A needs commons logger version B. But you have common logger version C !!
To avoid this do below:
Download a fresh version of hibernate and add it and all the required libraries to your project.
Download Jasper. You may see that some of the libraries between hibernate and jasper  have the same name but different versions. For common libraries only add them if they are newer than the one which are already in your project.
Download ....... look for common libraries only add them if you do not have them already in your project  or they are more up to date.
So you must have only one version of each library and it must be the most up to dated version. This mostly happens for Jakarta common libraries, xml parsers,...
Usually your IDE will catch some of these jar files, try to delete them too!

You error  seems to be about Commons Logging or Log4J incompatibility try to make them up to date.

 
Didn't find what you were looking for? Find more on hibernate project error Or get search suggestion and latest updates.




Tagged: