nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML.
写完Mapper后,AJ项目运行报错
nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML.
百度翻译:嵌套的异常是org.apache.ibatis.builder.builderException:分析映射器XML时出错。
解决方法:参考https://blog.csdn.net/weixin_39881983/article/details/88324706
尝试解决:
1:说是mybatis的MapperScan和通用mapper的MapperScan,查看了自己项目的注解,发现application上有@MapperScan,并且dao接口上也有@Mapper,去掉dao接口上的@Mapper;【没解决】
2:查看自己的mapper.xml文件
去掉resultMap的JdbcType属性
cloum中的字段大写
不报错了
自己写的东西要负责的啊。
- 上一篇 »Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: Stream closed
- 下一篇 »SpringBoot报错:nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.tuyrk.test.User matching [java.lang.Long, java.lang.String, java.lang.String]