Bonjour,
en faite je suis un débutant avec spring,
je travail avec jdbc, spring et jsp,
voila l'erreuret voila le code de controlleur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0' defined in ServletContext resource [/WEB-INF/bbe_nostro-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Caisse_DH.ListeCollecteFondsDHController' defined in ServletContext resource [/WEB-INF/bbe_nostro-servlet.xml]: Cannot resolve reference to bean 'service' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'daoDH' of bean class [bbe_nostro.dh.service.Service_CollecteFondsDHImpl]: Bean property 'daoDH' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
le fichier xml applicationconfig.xml :
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
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
le fichier -servlet.xml :
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
la classe service :
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
en faite il m'affiche l'erreur ci dessus,
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
je suis disponible pour toute autre information !!
merci pour votre aide

 

 
		
		 
         
 

 
			
			



 spring org.springframework.beans.NotWritablePropertyException error
 spring org.springframework.beans.NotWritablePropertyException error
				 Répondre avec citation
  Répondre avec citation
Partager