Mybatis报错:Invalid bound statement (not found)

There was an unexpected error (type=Internal Server Error, status=500).

Invalid bound statement (not found): com.lwp.dao.UserDao.getUserById

除了网上常见的问题外,补充一条:

配置文件中,mybatis前面有空格也会导致报错

Mybatis报错:Invalid bound statement (not found)

相关文章: