Bonsoir

J'essaye de me mettre à hibernate en testant avec un serveur mysql mais je bloque sur une erreur disant que mon fichier de configuration n'est pas complet.

ERROR - Error parsing XML: /hibernate.cfg.xml(27) The content of element type "session-factory" is incomplete, it must match "(property*,mapping+,(class-cache|collection-cache|jcs-class-cache|jcs-collection-cache)*)".
Je vois pas du tout de quoi il me parle, si quelqu'un pouvait m'éclairer je l'en remercie d'avance.

Contenu du fichier hibernate.cfg.xml:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration
PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">

<hibernate-configuration>
<session-factory>

<!-- local connection properties -->
<property name="hibernate.connection.url">jdbc:mysql://localhost</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.username">pship</property>
<property name="hibernate.connection.password">mdp</property>
<!-- property name="hibernate.connection.pool_size"></property -->

<!-- dialect for MySQL -->
<property name="dialect">net.sf.hibernate.dialect.MySQLDialect</property>

<property name="hibernate.show_sql">false</property>
<property name="hibernate.use_outer_join">true</property>
<!--
<property name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.JTATransactionFactory</property>
<property name="jta.UserTransaction">java:comp/UserTransaction</property>-->
<property name="hibernate.transaction.factory_class">
net.sf.hibernate.transaction.JDBCTransactionFactory
</property>
</session-factory>
</hibernate-configuration>