This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Problem in AnnotationSessionFactoryBean crration. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Problem in AnnotationSessionFactoryBean crration." Watch "Problem in AnnotationSessionFactoryBean crration." New topic
Author

Problem in AnnotationSessionFactoryBean crration.

Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

I am creating session factory using AnnotationSessionFactoryBean


but I got followig exception

I have included slf4j-api-1.5.2.jar in classpath.

Which version I have to use

I am using Spring 2.5, hibernate 3.3.1
hibernate-annotations 3.4.0

Thanks
- Kuldeep
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

According to the SLF4J JavaDocs that method has existed since the 1.4 version of the API, so you should be good with 1.5.2 - however, you may have an older version of SLF4J on your classpath - make sure it's not included in any libraries you may be using in your application, or in libraries contained in the application server's libs.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
 
subject: Problem in AnnotationSessionFactoryBean crration.
 
Similar Threads
Jboss error
org.springframework.beans.factory.BeanCreationException
Problem with configurate Spring and Hibernate
Spring w/ Hibernate
WAS 7.0+JPA 2.0