---
title: "Hibernate Dialect must be explicitly set"
author: "javer"
date: "2008-10-16T14:00:03Z"
tags: []
categories: ["企业架构"]
slug: "hibernate-dialect-must-be-explicitly-set"
draft: false
lastmod: "2008-10-16T14:00:03Z"
id: 253572
url: "https://javer.iteye.com/blog/253572"
---

本来好好的项目，突然启动时报错：

 

Error creating bean with name 'sessionFactory' defined in file \[applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set

 

 

实在没有办法了，就删掉项目部署文件，重新部署了一下，就ok了。

 

靠，服了。