Bonjour,
je commence en Spring.
j'ai un probléme avec le fichier applicationContext.xml, au chargement de l'application, j'ai une erreur du genre org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [net.listes1001.dao.DaoImpl]
voici mon fichier applicationContext.xml
le chemin net.listes1001.dao.DaoImpl se pointe sur mes sources (ficheir java) ou sur mes classes compilés ?
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 <?xml version="1.0" encoding="ISO_8859-1"?> <!DOCTYPE beans SYSTEM "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <!-- implémentation de la couche [dao] --> <bean id="dao" class="net.listes1001.dao.DaoImpl" init-method="init"/> <!-- implémentation de la couche service --> <bean id="service" class="net.listes1001.service.ServiceImpl"> <property name="dao"> <ref local="dao"/> </property> </bean> </beans>
pour info, mes sources ne sont pas dans le WEB-INF
Merci d'avance.
Partager