报错 1630 - FUNCTION XXXX.now does not exist. Check the ‘Function Name Parsing and Resolution’ section in 原因 这种错误是因为在mybatis中使用MySQL的函数时,函数名和括号之间带有空格。例如:sum (),date_format() 本次问题原因 idea 格式化后now() 导致变成了 now ( ) 总结 咱们在使用格式化的时候一定注意由格式化带来的问题