Problema com o Hibernate!

Alguem saberia me dizer o porque desse erro?
Ele está dizendo que está faltando o dialect, porém ele esta setado no arquivo hibernate.cfg.xml

INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
org.hibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect.
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:553)
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:575)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:87)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:62)
at com.s2.recurso.HibernateUtility.(HibernateUtility.java:17)
at com.s2.action.LinkLoadRegisterAction.execute(LinkLoadRegisterAction.java:26)
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
01/02/2012 14:53:50 org.apache.struts.chain.commands.servlet.CreateAction createAction
INFO: Initialize action of type: com.s2.action.LogoffAction
01/02/2012 14:53:50 org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] ResourceManager : found /index.vm with loader org.apache.velocity.tools.view.WebappResourceLoader

Como você configurou? Onde você colocou o arquivo?

Coloquei ele no src

essa é a classe:
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.tool.hbm2ddl.SchemaExport;
//import org.hibernate.cfg.Configuration;

public class HibernateUtility{

private static SessionFactory factory;

static{
	try{
		AnnotationConfiguration cfg = new AnnotationConfiguration();
		new SchemaExport(cfg).create(true, true);
		//configura o hibernate
		factory = cfg.configure("/hibernate.cfg.xml").buildSessionFactory();
	} catch(HibernateException e){
		e.printStackTrace();
		factory = null;
	}
}


public static Session getSession(){
	
	return factory.openSession();
}

}

E esse é o hibernate.cfg.xml:

false com.mysql.jdbc.Driver root create jdbc:mysql://localhost:3306/lojas root org.hibernate.dialect.MySQLDialect true true true true
    <property name="hibernate.c3p0.min_size">5</property>
    <property name="hibernate.c3p0.max_size">20</property>
    <property name="hibernate.c3p0.timeout">300</property>
    <property name="hibernate.c3p0.max_statements">50</property>
    <property name="hibernate.c3p0.idle_test_period">3000</property>
    
    <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
    <property name="current_session_context_class">thread</property>
    
    <mapping class="com.s2.bean.Cd"/>
    <mapping class="com.s2.bean.Genero"/>
    <mapping class="com.s2.bean.Cantor"/>

</session-factory>