http://localhost:8081/MicroMessage/ListServlet這樣訪問(wèn)就出現(xiàn)下面的異常,什么原因呢
###?Error?querying?database.??Cause:?org.apache.ibatis.builder.IncompleteElementException:?Could?not?find?SQL?statement?to?include?with?refid?'Message.columns' ###?Cause:?org.apache.ibatis.builder.IncompleteElementException:?Could?not?find?SQL?statement?to?include?with?refid?'Message.columns'
2018-05-31
實(shí)際上這是因?yàn)樵诹硪粋€(gè)Mapper.xml里將parameterType寫(xiě)成了parameterMap,而mybaties中已經(jīng)不再用這個(gè)屬性了。