Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Problem in AnnotationSessionFactoryBean crration." Watch "Problem in AnnotationSessionFactoryBean crration." New topic

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

- Kuldeep
Nathan Pruett

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.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: Problem in AnnotationSessionFactoryBean crration.
It's not a secret anymore!