org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in resource [/WEB-INF/applicationContext-hibernate.xml] of ServletContext: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:301)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:208)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:136)
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:224)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:284)
org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131)
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156)
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97)
org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:80)
javax.servlet.GenericServlet.init(GenericServlet.java:256)
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1327)
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:392)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:131)
Showing messages 1 through 3 of 3.
Problems with mySessionFactory
2004-09-27 03:05:59
meagle
[View]
Did you put the jta.jar file in the web-inf\lib dir?
Mark
Problems with mySessionFactory
2004-11-25 06:32:10
alebuqor
[View]
I have the same error. Have you been resolved it??
I tried to add the jta.jar to web-inf\lib, but the error is still there
Problems with mySessionFactory
2006-01-12 06:54:32
SanthoshNathan
[View]
I have problem in using sessionfactory with spring the error is "cannot create sessionfactory Bean" i have added all the jar files including jta.jar still i have the error .please give me proper solution .
Mark