sql是正常運行的,爲啥會500
[18:32:45.971][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-10] Creating a new SqlSession [18:32:45.972][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-10] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@22b0ebf8] was not registered for synchronization because synchronization is not active [18:32:45.973][DEBUG][o.m.s.t.SpringManagedTransaction][http-nio-8088-exec-10] JDBC Connection [jdbc:mysql://localhost:3306/happymall, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring [18:32:45.973][DEBUG][com.mall.dao.UserMapper.checkAnswer][http-nio-8088-exec-10] ==> Preparing: select count(1) from mmal_user where username = ? and question = ? and answer = ? [18:32:45.973][DEBUG][com.mall.dao.UserMapper.checkAnswer][http-nio-8088-exec-10] ==> Parameters: grady(String), lover(String), lulu(String) [18:32:45.974][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-10] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@22b0ebf8]