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 | 4 months ago
  1. 0

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

    nabble.com | 4 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

    MyBatis: Errors when upgrading to 3.2.7 from 3.0.3

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

    GitHub comment 5#102249931

    GitHub | 2 years ago | iwanagah
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'todoMybatisRepository' defined in URL [wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/bttatsutanikNode01Cell/terasoluna-gfw-functionaltest-web_war.ear/terasoluna-gfw-functionaltest-web.war/WEB-INF/lib/terasoluna-gfw-functionaltest-domain-5.1.0-SNAPSHOT.jar!/org/terasoluna/gfw/functionaltest/domain/repository/queryescape/TodoMybatisRepository.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: XML fragments parsed from previous mappers already contains value for org.terasoluna.gfw.functionaltest.domain.repository.queryescape.TodoMybatisRepository.findAllByTitleLike
  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

    xluat.com | 12 months ago
    java.lang.IllegalStateException: Failed to load ApplicationContext
  6. 0

    [IBATIS-669] Support for two and more parameters for query input - ASF JIRA

    apache.org | 1 year ago
    org.apache.ibatis.builder.BuilderException: Could not find value method on SQL annotation. Cause: java.lang.NullPointerException

  1. archenroot 1 times, last 4 weeks 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