ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Wiring Your Web Application with Open Source Java
Subject:   Problems with mySessionFactory
Date:   2004-09-27 02:26:26
From:   moyosaNED
I don't know what seems to be the problem.


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)



1 to 1 of 1
  1. Problems with mySessionFactory
    2004-09-27 03:05:59  meagle [View]

1 to 1 of 1