Skip to content

Conversation

@JunqiangYang
Copy link

type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)

idea 启动报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actDao' defined in file [/Users/yongyi.yjq/IdeaProjects/jeesite-master/target/jeesite/WEB-INF/classes/com/thinkgem/jeesite/modules/act/dao/ActDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [/Users/yongyi.yjq/IdeaProjects/jeesite-master/target/jeesite/WEB-INF/classes/spring-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [/Users/yongyi.yjq/IdeaProjects/jeesite-master/target/jeesite/WEB-INF/classes/mappings/modules/sys/RoleDao.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 36; columnNumber: 14; The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant