Bonsoir,
Je réalise actuellement une application web qui utilise Spring Hibernate JSF et MySQL ...
Lorsque je veut lancer mon application depuis NetBeans 7.3.1 j'ai le message "SEVERE" suivant :

SEVERE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tazaSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException
Voici mon applicationContext.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
38
39
40
41
42
43
44
45
46
47
48
49
 
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:p="http://www.springframework.org/schema/p" 
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
	http://www.springframework.org/schema/context
	http://www.springframework.org/schema/context/spring-context-3.1.xsd
        http://www.springframework.org/schema/tx
        http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
 
 
    <!-- Data source access-->
    <bean id="tazaDataSource"
          class="org.springframework.jdbc.datasource.DriverManagerDataSource">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="url" value="jdbc:mysql://localhost:3306/Taza"/>
        <property name="username" value="root"/>
        <property name="password" value="007micke"/>
    </bean>
 
 
    <bean id="tazaSessionFactory" 
              class="org.springframework.orm.hibernate4.LocalSessionFactoryBean" 
              p:dataSource-ref="tazaDataSource" p:packagesToScan="fr.itldev.model"> 
        <property name="hibernateProperties"> 
            <value> 
                hibernate.format_sql=true 
                hibernate.dialect=org.hibernate.dialect.MySQLDialect 
                hibernate.hbm2ddl.auto=create 
            </value> 
        </property> 
    </bean> 
 
    <bean id="transactionManager"
          class="org.springframework.orm.hibernate4.HibernateTransactionManager">
        <property name="sessionFactory" ref="tazaSessionFactory"/>
    </bean>
 
    <tx:annotation-driven transaction-manager="transactionManager" />
 
 
    <!-- ADD PERSISTENCE SUPPORT HERE (jpa, hibernate, etc) -->
    <context:component-scan base-package="fr.itldev.tazaWebapp"/>
 
</beans>
Voilà pour le moment, merci d'avance pour toute l'aide.