第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

報錯求解決MYbaits

報錯求解決MYbaits

### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'Messageresult'. ?Cause: java.lang.ClassNotFoundException: Cannot find class: Messageresult at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26) at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:54) at org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:38) at com.gjh.db.DbAcess.getSqlSession(DbAcess.java:19) at com.gjh.dao.MessageDao.queryMessageList(MessageDao.java:21) at com.gjh.service.ListService.queryMessageList(ListService.java:11) at com.gjh.servlet.ListServlet.doGet(ListServlet.java:31) at com.gjh.servlet.ListServlet.doPost(ListServlet.java:39) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mapper? ? PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"? ? "http://mybatis.org/dtd/mybatis-3-mapper.dtd"><mapper namespace="Message">? <resultMap type="com.gjh.bean.Message" id="Messageresult">? ? <id column="id" jdbcType="INTEGER" property="id"/>? ? <result column="command" jdbcType="VARCHAR" property="command"/>? ? <result column="description" jdbcType="VARCHAR" property="description"/>? ? <result column="content" jdbcType="VARCHAR" property="content"/>? </resultMap>? ? <select id="queryMessage" parameterType="com.gjh.bean.Message" resultType="Messageresult" >? ? SELECT ?id, ?command, description, content FROM message? <where>? ? <if test="command != null and !&quot;&quot;.equals(command.trim())"> ? ? and command=#{command} ? ?</if> ? ?<if test="description != null and !&quot;&quot;.equals(description.trim())"> ? ? and description like '%' #{description} '%' ? ?</if>? ? </where>? </select></mapper>
查看完整描述

3 回答

?
qq_畫個圈圈詛咒你_03164602

TA貢獻1條經(jīng)驗 獲得超0個贊

發(fā)現(xiàn)錯誤了,resultmap弄成resultype了

查看完整回答
反對 回復(fù) 2016-12-30
?
慕瓜4807886

TA貢獻25條經(jīng)驗 獲得超9個贊

不就是報Could not resolve type alias 'Messageresult'. ?Cause: java.lang.ClassNotFoundException: Cannot find class: Messageresult找不到類嘛,仔細檢查一下名字和路徑

查看完整回答
反對 回復(fù) 2016-12-29
  • 3 回答
  • 0 關(guān)注
  • 4033 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號