I am learning spring security from reference material. release 3.1.2.RELEASE. As stated in that I have configured security:http tag like this
security:http
se
As of Spring Security 5.2.1-SNAPSHOT, this error occurred to me when I hadn't declared the element in security XML configuration.
I was trying a sample and I had configuration like
I had to change it to add like below.