Caused by: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1
**问题**SQLExceptionCaused by: java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1**解决**最后发现在xml中,sql语句中不能有注释过的sql