当前位置: 首页 > 工具软件 > Dorado7 > 使用案例 >

dorado7数据库准备工作出现的错误

秦禄
2023-12-01

异常提示
Error creating bean with name ‘dorado.jdbc.dataInterceptor’ defined in class path resource [com/bstek/dorado/jdbc/context-defaultRule.xml]: Cannot resolve reference to bean ‘transactionManager’ while setting bean property ‘transactionManager’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager’ defined in ServletContext resource [/WEB-INF/dorado-home/app-context.xml]: Cannot resolve reference to bean ‘sessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in ServletContext resource [/WEB-INF/dorado-home/app-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not init listeners

修改 app-context.xml 的 实体的配置 后面加上 /*

com/bstek/dorado/sample/entity/*

 类似资料: