我试图在 glassfish 上部署 netbeans java ee 项目(maven + hibernate + JSF)
我在下面收到错误。我的数据库配置没问题(从几个应用程序仔细检查),数据库本身没问题并且在线。
SEVERE: WebModule[/web-0.1-SNAPSHOT]PWC1275:
Exception sending context initialized event to listener
instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'txManager' defined in ServletContext resource
[/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException:
Property 'sessionFactory' is required