ApplicationContext.xml中配置 class="org.springframework.jdbc.core.JdbcTemplate">
不需要在连接池里配置,不然在tomcat里访问就没有限制了