Development in mybatis mybatis project – config. After adding elements in the XML, found in the XML configuration label error: before and after the content for an error & lt; properties& gt; settings& gt; typeAliases& gt; typeHandlers& gt; objectFactory& gt; objectWrapperFactory& . >
Then find the answer in a development tool:
& lt; configuration> The child elements of the must follow: <<; properties> & lt; settings> & lt; typeAliases> & lt; typeHandlers> & lt; objectFactory> & lt; plugins> & lt; enviroments> & lt; databaseIdProvider> & lt; mappers> In that order. Otherwise, MyBatis will report an error when parsing XML.
Then find the answer in a development tool:
& lt; configuration> The child elements of the must follow: <<; properties> & lt; settings> & lt; typeAliases> & lt; typeHandlers> & lt; objectFactory> & lt; plugins> & lt; enviroments> & lt; databaseIdProvider> & lt; mappers> In that order. Otherwise, MyBatis will report an error when parsing XML.