I have what seems to be a simple problem, as stated in the title. Here is the kind of class I have :
public class Foo { @Autowired public Foo(@Qualifier(
As others stated it is impossible to use @Autowired for Strings and collections of String. You can use @Value with spring EL here assuming you have spring in version 3:
public class Foo { @Autowired public Foo(@Value("#{bar}") Set bar) { // ... } }