首页上一页 1 下一页尾页 1 条记录 1/1页
系统运行
发表在Java图书答疑
2010-04-13
是否精华
是
否
版块置顶:
是
否
我按照光盘说明书上,将数据库弄好。然后去掉属性。点击运行。出现如下错误。
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: Hibernate Dialect must be explicitly set
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: Hibernate Dialect must be explicitly set