I am implementing spring security in my project
In my DAO class I am defining the loadUserByUsername
my class is like
UserDAOImpl.java
@
Typically beans that are component scanned are camel-cased starting with a lowercase character so the bean would exist in the application context as userDAOImpl (not UserDAOImpl)
userDAOImpl
UserDAOImpl
change your spring-security.xml snippet to
spring-security.xml
Hope this works for you.