Bonjour,
J'ai un petit soucis, lorsque je démarre mon Tomcat, j'ai de multiple erreur dont celle ci :
Cannot find class [com.zenika.maif.extractor.process.ExtractProcessor] for bean with name 'extractProcessor' defined in URL [file:/D:/Dev/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/extractor-data/WEB-INF/classes/META-INF/spring/context.xml]; nested exception is java.lang.ClassNotFoundException: com.zenika.maif.extractor.process.ExtractProcessor
Voici ma page de mon context.xml :
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"?>
<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"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:component-scan base-package="com.zenika.maif" />
<bean id="bridgePropertyPlaceholder" class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer">
<!-- property name="location" value="classpath:acquisition.properties"/ -->
<property name="location" value="file:${exp720.extractor.config.dir}/extractor.properties"/>
</bean>
<bean id="extractProcessor" init-method="openConnection" class="com.zenika.maif.extractor.process.ExtractProcessor"></bean>
<bean id="maifRequestProperties" init-method="parseCritere" class="com.zenika.maif.extractor.data.dto.MaifRequestProperties"></bean>
</beans> |
Enfin voici mon arborescence :

On voit pourtant bien que le fichier ExtractProcessor.java est bien à sa place :/
Avez vous une idée?
Cordialement, le corbeau!
Partager