I\'m using spring 4 and I want to use spring security 3 to control my login form. So I have the following tables in database :
users table :
This error is because of column missing. The PreparedStatement is looking for 3 columns to get the 3 values and it finds only 2.
PreparedStatement
The users-by-username-query and authorities-by-username-query required 3 columns in select.
users-by-username-query
authorities-by-username-query