mybatis的Mapper文件Tag name expected报错
mapper文件中写sql语句时提示Tag name expected,找到原因是因为xml不识别<号需要用特定转义符来表示<号。做如下替换即可:比如说:select sum(BikeCount) from poTable where needBikeCount < 0需要改为:select sum(BikeCount) from poTable where needBikeCount &lt; 0最好这五个都替换一下,养成好的编程规范,虽然...