I've got the following:
public class ClaimFacadeImpl implements ClaimFacade {
    @Autowired
    private DebtRepository<Claim> debtRepository;
    @Autowired
    private DebtRepository<Fine> fineRepository;
    //other stuff
}
public interface DebtRepository <T extends Debt> {
   //nothing special
}
public class DebtRepositoryImpl <T extends Debt> implements DebtRepository <T> {
   //nothing special
}
and 2 classes. One Claim and one Fine both extending Debt. 
I'm getting the error More than one field with type interface domain.debt.DebtRepository
what should I do?
 
     
    