严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
===================================================================================
因为 jar版本的问题,不是配置dialect的问题.dialect是配置过了的,因为有个hibernate-anoxxxx来着的包,有问题.所以会有不正确的提示.
===================================================================================
hibernate-annotations.jar
但是用到注解的方式映射,删掉这个jar,插入数据时使用的AnnotationConfiguration类就不能用了。。。。