org.xml.sax.SAXParseException:
The content of element type "sqlMapConfig" must match
"(properties?,settings?,resultObjectFactory?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
ibatis配置文件sqlMapConfig.xml中的节点顺序按照properties,settings,resultObjectFactory,typeAlias...........
如果顺序不对,在读取配置文件时就会报错
本文解析了ibatis中sqlMapConfig.xml配置文件的正确节点顺序,即properties, settings, resultObjectFactory, typeAlias等,并指出如果顺序错误将会导致读取配置文件时报错。

8863

被折叠的 条评论
为什么被折叠?



