A request before you mark it as duplicate. I have gone through the forum and couldn\'t find the solution for the problem anywhere.
I am writing a code using Spring 3
Injection using @Resource annotation is what you're looking for. You can use
@Resource
@AutoWired @Qualifier("A1Unmarshaller") private Jaxb2Marshaller A1Unmarshaller;
But that is not the only way.
@Resource("A1Unmrshaller")
Does the job too. I suggest you use the later one! See why