在mybatis配置文件config.xml中报错: The content of element type "configuration" must match "(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?,objectWrapperFactory?,reflectorFactory?,plugins?,environments?,databaseIdProvider?,mappers?)
[转]The content of element type "configuration" must match "(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?... <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybat
在运行mybatis配置文件的时候,出现错误: mybatis:"configuration" must match "(properties?,settings?,typeAliase..... 配置文件 configuration 中的元素,不但有类型限制,也有顺序限制.必须按照( objectFactory?,objectWrapperFactory?,plugins?,environments?,databaseIdProvider?,mappers?)"
如下报错:解决方案:要按照提示的顺序添加属性,(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?,objectWrapperFactory?,reflectorFactory?,plugins?,environments?,databaseIdProvider?,mappers?) java.lang.ExceptionInInitializerError at houji.dao.TaskModelMapperTes