Add spring-tx jar of your spring version to your classpath.
The method queryForMap(String, Object...) from the type JdbcTemplate refers to the missing type DataAccessException
原文:http://www.cnblogs.com/lzj123/p/6502550.html