1 pièce(s) jointe(s)
XML invalide "user.hbm.xml.xml"
Bonjour ,je me permet de soliciter votre aide car j'ai un soucis sur mes fichiers XML lors de la compilation , les voicis
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
<?xml version="1.0" encoding="UTF-8"?>
<<!DOCTYPE hibernate-configuration SYSTEM
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="User" table="public.user">
</class>
<property name="Id" type="integer" column="id"/>
<property name="nom" type="string" column="Nom"/>
<property name="prenom" type="string" column="Prenom"/>
<property name="age" type="integer" column="age"/>
</hibernate-mapping> |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration SYSTEM
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
<property name="hibernate.connection.url">jdbc:postgresql://localhost:5433/testajoutbdd</property>
<property name="hibernate.connection.username">postgres</property>
<property name="hibernate.connection.password">50541012dD</property>
<mapping class="user.hbm.xml" resource="user.hbm.xml.xml"/>
</session-factory>
</hibernate-configuration> |
Voici l'erreur affiché sur la photo ci-joint
Merci d'avance pour l'aide
Cordialement