在pom.xml文件中加入pagehelper分页插件之后,去mybatis.xml的配置文件注册插件时,出现了configuration一直报红的问题,查阅了mybatis开发工具书后发现,configuration标签中的子标签注册存在顺序问题
mybatis配置文件的configuration标签下的子标签的顺序必须为
<properties>
<settings>
<typeAliases>
<typeHandlers>
<objectFactory>
<plugins> <enviroments>
<databaseIdProvider>
<mappers>