mybatis配置文件报错:The content of element type "configuration" must match "(properties>settings>typeAliases>typeHa...
在mybatis的xml配置文件会提示错误
The content of element type "configuration" must match "(properties>settings>typeAliases>typeHandlers>objectFactory>objectWrapperFactory>plugins>environments>mappers?)".
,网上查是配置文件对各个标签的先后顺序有要求,必须按照他提示的这个顺序(properties>settings>typeAliases>typeHandlers>objectFactory>objectWrapperFactory>plugins>environments>mappers)依次向后排列书写。
结果发现顺序没错,仔细检查原来是<environment>标签少打了一个n