创建UserMapper.xml文件时提示错误:Multiple annotations found at this line:
- The content of element type “mapper” must match “EMPTY”.
- Attribute “namespace” must be declared for element type
“mapper”.
这是因为配置文件约束错误,将文档类型从configuration改为mapper即可
MyBatis映射器出错,已解决(Multiple annotations found at this line: - The content of element type "mapper" m)
猜你喜欢
转载自blog.csdn.net/weixin_43873198/article/details/105612309
今日推荐
周排行