After I enter the account password in the login interface, the above error pops up
Referring to the statement of a great god:
wrong reason
由queryForObject(sql, new BeanPropertyRowMapper<User>(User.class),id);引起
I used the queryforobject method of JdbcTemplate in the DAO layer to cause this error
solve
According to line 25 of the error:
Press ctrl alt t to catch exceptions:
just fine