You have an error in your SQL syntax; check the manual that corresponds to 。。。。。。。。。

    @Select("select * from tb_person where id=#{id}")

这是我的sql语句,看起来没有什么问题,但是就是提示错误,后来看了网上的一些说法,好像是用来中文的空格,里面的空格也是需要英文的,重写了一遍,果然解决问题了