sinat_33452840
2015-12-25 06:49
采纳率: 100%
浏览 1.7k

SVN团队项目 ssm 大神们,求解啊,

e Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.dao.UserRoleDao.User
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:659)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause

org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.dao.UserRoleDao.User
org.apache.ibatis.builder.MapperBuilderAssistant.setStatementResultMap(MapperBuilderAssistant.java:373)
org.apache.ibatis.builder.MapperBuilderAssistant.addMappedStatement(MapperBuilderAssistant.java:311)
org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:109)
org.apache.ibatis.session.Configuration.buildAllStatements(Configuration.java:698)
org.apache.ibatis.session.Configuration.hasStatement(Configuration.java:668)
org.apache.ibatis.session.Configuration.hasStatement(Configuration.java:663)
org.apache.ibatis.binding.MapperMethod$SqlCommand.(MapperMethod.java:175)
org.apache.ibatis.binding.MapperMethod.(MapperMethod.java:38)
org.apache.ibatis.binding.MapperProxy.cachedMapperMethod(MapperProxy.java:49)
org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:42)
$Proxy12.queryAll(Unknown Source)
com.service.UserService.queryAll(UserService.java:54)
com.control.UserControl.queryuser(UserControl.java:81)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:710)
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:167)
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:414)
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:402)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause

java.lang.IllegalArgumentException: Result Maps collection does not contain value for com.dao.UserRoleDao.User
org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:791)
org.apache.ibatis.session.Configuration.getResultMap(Configuration.java:550)
org.apache.ibatis.builder.MapperBuilderAssistant.setStatementResultMap(MapperBuilderAssistant.java:371)
org.apache.ibatis.builder.MapperBuilderAssistant.addMappedStatement(MapperBuilderAssistant.java:311)
org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:109)
org.apache.ibatis.session.Configuration.buildAllStatements(Configuration.java:698)
org.apache.ibatis.session.Configuration.hasStatement(Configuration.java:668)
org.apache.ibatis.session.Configuration.hasStatement(Configuration.java:663)
org.apache.ibatis.binding.MapperMethod$SqlCommand.(MapperMethod.java:175)
org.apache.ibatis.binding.MapperMethod.(MapperMethod.java:38)
org.apache.ibatis.binding.MapperProxy.cachedMapperMethod(MapperProxy.java:49)
org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:42)
$Proxy12.queryAll(Unknown Source)
com.service.UserService.queryAll(UserService.java:54)
com.control.UserControl.queryuser(UserControl.java:81)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:710)
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:167)
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:414)
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:402)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • wuheng_1 2015-12-25 15:26
    已采纳
    打赏 评论
  • wuheng_1 2015-12-25 15:25

    看RootCause这一行:
    root cause
    java.lang.IllegalArgumentException: Result Maps collection does not contain value for com.dao.UserRoleDao.User;

    打赏 评论

相关推荐 更多相似问题