java - BeanCreationException : Injection of autowired dependencies failed -
i have 2 classes in 2 different projects, , have difficulties autowire field. in project pack, have computation class : package fr.aaa; @component public class computation { @autowired @qualifier("curvedao") curveaccess curvedao; public static void main(string[] args) { applicationcontext context = new classpathxmlapplicationcontext("classpath*:applicationcontext.xml"); } } in project db, have curveaccess interface : package com.bbb public interface curveaccess { // methods } implemented curvedao class : package com.bbb.impl @repository("curvedao") @transactional("cvatxmanager") public class curvedao implements curveaccess { // methods } my applicationcontext.xml file pack project : <?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:...