MyBatis配置文件出现错误,已解决(The content of element type "configuration" must match "(properties?,settings)

时间:2024-04-03 10:04:25

开始创建xml配置文件时,先把标签打出来,就出现了错误:The content of element type “configuration” must match
(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?,objectWrapperFactory?,reflectorFactory?,plugins?,environments?,databaseIdProvider?,mappers?)".
MyBatis配置文件出现错误,已解决(The content of element type "configuration" must match "(properties?,settings)
即使全部打完也会提示出错
MyBatis配置文件出现错误,已解决(The content of element type "configuration" must match "(properties?,settings)
这是因为标签没有按顺序创建,解决方法:顺序创建标签
MyBatis配置文件出现错误,已解决(The content of element type "configuration" must match "(properties?,settings)
MyBatis配置文件出现错误,已解决(The content of element type "configuration" must match "(properties?,settings)
MyBatis配置文件出现错误,已解决(The content of element type "configuration" must match "(properties?,settings)