The content of element type “configuration“ must match “(properties?,settings?,typeAliases?,typeHan)

The content of element type “configuration“ must match “(properties?,settings?,typeAliases?,typeHan),第1张

The content of element type “configuration“ must match “(properties?,settings?,typeAliases?,typeHan)

 

这个报错的意思是说:在mybatis-config配置文件中,每个标签要按照一定的顺序来写,如:

properties-->settings-->typeAliases-->typeHan

在mybatis-config配置文件中常见的标签有:

properties

settings

typeAliases

plugins

environments

mappers

在写配置文件时,标签要按以上罗列的从上到下的顺序写

改正以后的:

 按一定的顺序写就不会报错了。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5564301.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存