今天在用springboot整合mybatis的时候报了个Caused by: org.xml.sax.SAXParseException: 前言中不允许有内容异常,
找了下原因,是由于我在application中的配置:mybatis.mapperLocations=classpath:mappers/Mapper.xml
找不到对应的配置文件,将配置改成mybatis.mapperLocations=classpath:mappers/*Mapper.xml就好了,在配置的时候少写了个*