Bonjour, j'utilise hibernate jboss tools. Voila ce que j'obtien:

javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Impossible d'instancier la classe

Membre.hbm.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated 15 f??vr. 2013 14:34:13 by Hibernate Tools 3.4.0.CR1 -->
<hibernate-mapping>
    <class name="database.Membre" table="membre" catalog="lingerie_fine">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="nom" type="string">
            <column name="nom" length="25" />
        </property>
        <property name="prenom" type="string">
            <column name="prenom" length="25" />
        </property>
        <property name="speudo" type="string">
            <column name="speudo" length="25" />
        </property>
        <property name="email" type="string">
            <column name="email" length="25" />
        </property>
        <property name="sex" type="string">
            <column name="sex" length="25" />
        </property>
        <property name="naissance" type="string">
            <column name="naissance" length="20" />
        </property>
        <property name="datenaissance" type="date">
            <column name="datenaissance" length="0" />
        </property>
        <property name="motpasse" type="string">
            <column name="motpasse" length="40" />
        </property>
    </class>
</hibernate-mapping>
]
hibernate config
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <property name="hibernate.bytecode.use_reflection_optimizer">false</property>
        <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
        <property name="hibernate.connection.password">L099339R</property>
        <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/lingerie_fine</property>
        <property name="hibernate.connection.username">root</property>
        <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
        <property name="hibernate.search.autoregister_listeners">false</property>
        <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
		<property name="current_session_context_class">thread</property>
		<property name="hibernate.show_sql">true</property>
        <mapping resource="data/Membre.hbm.xml" />
    </session-factory>
</hibernate-configuration>

Merci pour votre aide. Pourriez vous m'indiquer un tutoriel pour migrer de jsf 1.2 à jsf 2.

Tres grand merci