Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RoleDao.xml #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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