I started recently a project with the Spring framework with the ojective to develop it without none XML config file, only Java code.
In this current moment, I add th
I think the problem is that this:
.loginPage("spring/index").permitAll()
should be this:
.loginPage("/spring/index").permitAll() //note the '/' at the beginning of the uri