首页上一页 1 下一页尾页 3 条记录 1/1页
实战突击java项目开发案例整合 第20章 医药进销存运行出错,求高手指点
发表在Java图书答疑
2013-03-17
是否精华
是
否
版块置顶:
是
否
运行后弹出一个“初始化数据连接失败,错误信息如下”的对话框,一下是对话框中的错误提示,求教是何原因,如何修改?
Error creating bean with name 'DAOProxy' defined in class path resource [com/lzw/dao/appcontext.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 class path resource [com/lzw/dao/appcontext.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 class path resource [com/lzw/dao/appcontext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection available
Error creating bean with name 'DAOProxy' defined in class path resource [com/lzw/dao/appcontext.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 class path resource [com/lzw/dao/appcontext.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 class path resource [com/lzw/dao/appcontext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection available