学习spring JdbcTemplate 运行一直报如下错误
原因是
RowMapper rowMapper = new BeanPropertyRowMapper(); 没有指定加载类
改成
RowMapper rowMapper = new BeanPropertyRowMapper(Book.class);
即可解决
学习spring JdbcTemplate 运行一直报如下错误
原因是
RowMapper rowMapper = new BeanPropertyRowMapper(); 没有指定加载类
改成
RowMapper rowMapper = new BeanPropertyRowMapper(Book.class);
即可解决