Hi all,
The following error appears when I try to enter at my main url application localhost:8080/springmvc/, with VMware vFabric tc server 2.8.2 previously executed, using STS last version:
These are a chain of concatenated errors:
note: my Spring xml context configuratior is servlet-context.xml
HTTP 500 state, exception at Servlet.init()
Root cause:
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExc eptionTranslationPostProcessor#0' defined in servlet-context.xml
": Error creating bean with name 'sessionFactory' defined in servlet-context.xml
org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.orm.hibernate3.annotation.Anno tationSessionFactoryBean]: Constructor threw exception
java.lang.NoClassDefFoundError: org/hibernate/cfg/AnnotationConfiguration
org.springframework.orm.hibernate3.annotation.Anno tationSessionFactoryBean.<init>
There is something I should know about defining a PersistenceExceptionTranslationPostPorcessor in my xml Spring file? Or maybe error begins with defining the AnnotationSessionFactoryBean bean?
Here are the
servlet-context.xml:
I'm sure that errors are between <
jee:jndi-lookup> and <tx:annotation-driven> elements
( POST CONTINUE IN THE FIRST
THREAD REPLY with the rest of code files)