NoUniqueBeanDefinitionException: no qualifying bean of type. I defined, expected a single matching bean, but I found 2
Remove <bean name = "GebruikerDAO" class="services.JpaGebruikerDao"/>
from the XML configuration (and if that's all that exists in the configuration, I suggest you remove the whole file).
This is needed since JpaGebruikerDao
is already being registered as a (Repository) bean via component scanning (under the name gebruikerDAO
).