Injection of autowired dependencies failed;
The error shows that com.bd.service.ArticleService is not a registered bean. Add the packages in which you have beans that will be autowired in your application context: <context:component-scan base-package=”com.bd.service”/> <context:component-scan base-package=”com.bd.controleur”/> Alternatively, if you want to include all subpackages in com.bd: <context:component-scan base-package=”com.bd”> <context:include-filter type=”aspectj” expression=”com.bd.*” /> </context:component-scan> As a side note, if you’re using Spring … Read more