这是mybatis插入数据库之后出现的问题,至于为什么出现这个问题,是因为插入的时候你照抄了查询的语句,插入的时候只有id属性和parameterType属性,并没有“resultType”属性,要注意看下的。
相关文章
- 10-08Attribute "resultType" must be declared for element type "update" or "inser
- 10-08Attribute "not-null" must be declared for element type "property"解决办法
- 10-08Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' charac
- 10-08Attribute "resultType" must be declared for element type "insert".
- 10-08Attribute "resultType" must be declared for element type "update" or "insert"
- 10-08Attribute "resultType" must be declared for element type "insert"或"update"
- 10-08Attribute "resource" must be declared for element type "mapper".
- 10-08Multiple annotations found at this line: - The content of element type "mapper" must match "EMPTY". - Attribute "namespace" must be declared for element type "mapper".