异常提示
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/*