org.apache.ibatis.builder.BuilderException: Error creating document instance.  Cause: org.xml.sax.SAXParseException: The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".

nabble.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    mybatis-user - mybatis-guice: custom TypeHandler works only halfway

    nabble.com | 8 months ago
    org.apache.ibatis.builder.BuilderException: Error creating document instance.  Cause: org.xml.sax.SAXParseException: The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".
  2. 0

    GitHub comment 5#102249931

    GitHub | 2 years ago | iwanagah
    org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'Todo'. Cause: java.lang.ClassNotFoundException: Cannot find class: Todo
  3. 0

    "less than" in Select annotations

    GitHub | 2 years ago | GoogleCodeExporter
    org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 38; The content of elements must consist of well-formed character data or markup.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MyBatis: Errors when upgrading to 3.2.7 from 3.0.3

    Stack Overflow | 3 years ago | AfterWorkGuinness
    java.lang.IllegalStateException: Failed to load ApplicationContext
  6. 0

    MyBatis: Errors when upgrading to 3.2.7 from 3.0.3

    xluat.com | 1 year ago
    java.lang.IllegalStateException: Failed to load ApplicationContext

  1. archenroot 1 times, last 5 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.ibatis.builder.BuilderException

    Error creating document instance.  Cause: org.xml.sax.SAXParseException: The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".

    at org.apache.ibatis.parsing.XPathParser.createDocument()
  2. MyBatis
    Configuration.addMapper
    1. org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java:212)
    2. org.apache.ibatis.parsing.XPathParser.<init>(XPathParser.java:81)
    3. org.apache.ibatis.builder.xml.XMLMapperBuilder.<init>(XMLMapperBuilder.java:31)
    4. org.apache.ibatis.builder.xml.XMLMapperBuilder.<init>(XMLMapperBuilder.java:24)
    5. org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.loadXmlResource(MapperAnnotationBuilder.java:70)
    6. org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parse(MapperAnnotationBuilder.java:49)
    7. org.apache.ibatis.binding.MapperRegistry.addMapper(MapperRegistry.java:43)
    8. org.apache.ibatis.session.Configuration.addMapper(Configuration.java:371)
    8 frames
  3. org.mybatis.guice
    ConfigurationProvider.postCreate
    1. org.mybatis.guice.configuration.ConfigurationProvider.postCreate(ConfigurationProvider.java:77)
    1 frame