首页上一页 1 下一页尾页 3 条记录 1/1页
java 数据库问题
发表在Java图书答疑
2009-05-09
是否精华
是
否
版块置顶:
是
否
最近购买了贵出版社的java数据库系统开发案例精选一书,其中的医药进销存系统运行时出现了如下错误:
Error creating bean with name 'DAOProxy' defined in class path resource [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 [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 [appcontext.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: [font color=#FF0000]Hibernate Dialect must be explicitly set[/font]
不知道是不是hibernate配置不对,还是其他问题,我已经安装sql2000sp4 ,希望给予答复,谢谢!
Error creating bean with name 'DAOProxy' defined in class path resource [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 [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 [appcontext.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: [font color=#FF0000]Hibernate Dialect must be explicitly set[/font]
不知道是不是hibernate配置不对,还是其他问题,我已经安装sql2000sp4 ,希望给予答复,谢谢!