错误

对不起,服务异常,请联系管理员

Failed Request URL : http://sakurac.cn:8080/messages
Exception message : org.springframework.jdbc.BadSqlGrammarException: ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 10' at line 5 ### The error may exist in file [/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/mapper/MessageDao.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: select c.id,c.nickname,c.email,c.content,c.avatar,c.create_time,c.reply_Inform,c.admincomment,c.openid ,c.parent_comment_id from t_comment c where blog_id =0 ORDER BY create_time desc limit ?, ? LIMIT ? ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 10' at line 5 ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 10' at line 5