您的位置: 首页 > 文章 > 使用PageHelper时页面报错!nested exception is org.springframework.jdbc.BadSqlGrammarException 使用PageHelper时页面报错!nested exception is org.springframework.jdbc.BadSqlGrammarException 分类: 文章 • 2024-01-02 09:41:22 HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGram 使用PageHelper出现的坑!!! PageHelper配置参数supportMethodsArguments建议不要设置为全局 使用PageHelper出现的坑!!! 出现这个问题的时候,检查了Dao层是否有错,结果发现都没有问题。最后看了看配置发现PageHelper配置出现了问题 PageHelper配置参数supportMethodsArguments建议不要设置为全局 配置的时候一定要注意不要设置此参数,此参数配置后会自动分页官方文档