Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. DaoSupport.afterPropertiesSet() has thrown a BuilderException
    Spring Framework: DAO
    0
    1
    0
  2. XMLMapperBuilder.<init>() has thrown a BuilderException
    mybatis
    0
    1
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 420; columnNumber: 8; 元素类型为 "cache-ref" 的内容必须匹配 "EMPTY"。不允许使用类型为 "comment" 的子级。
8 matching frames hidden
    at org.mybatis.spring.mapper.MapperFactoryBean.checkDaoConfig(MapperFactoryBean.java:80)
    at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)

External results for this pattern (1)

  1. liyiorgvia GitHub4 months ago
    Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 420; columnNumber: 8; 元素类型为 "cache-ref" 的内容必须匹配 "EMPTY"。不允许使用类型为 "comment" 的子级。
    Show stack trace