I'm a newbie using Spring framework.
I want to use a class type "BlaBla", of a different project BlablaProject, in my project "myProject" in Eclipse. Both projects uses Spring framework. To uses BlaBla I add the @autowired annotation in my classe :
@Autowired
private Blabla test;
I also add in application-context.xml of myProject
<context:component-scan base-package="test.domain" use-default-filters="true" />
Blabla is in the test.domain package defined in BlablaProject
But I receive the "cannot not be resolved to a type" error. What do I forget to configure, either in BlablaProject or in myProject?
import org.springframework.context.annotation.*;
– Ali786 May 21 '15 at 10:58